Logo 
Search:

MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

lookin

  Asked By: Jai    Date: Jan 20    Category: MS Office    Views: 427
  

i am using vba
when i execute pgm .lookin is default show
.lookin=C:\Documents and Settings\db2admin\My Documents
i dont want this deault value
Folder values =user select any one
if suppose didn't select any thing (folder ="")
at a time it will take default values
how overcome this problem
this my come
With Application.FileSearch
.NewSearch
.LookIn = Folder
.Execute
.SearchSubFolders = True
.FileType = msoFileTypeAllFiles
.Execute

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Botan Suzuki     Answered On: Jan 20

It has to start somewhere. Decide where that is and put the whole path where
you have put the word "folder"

 
Didn't find what you were looking for? Find more on lookin Or get search suggestion and latest updates.




Tagged: