Serch folder/subfolder dynamically.

Results 1 to 2 of 2

Thread: Serch folder/subfolder dynamically.

  1. #1
    Join Date
    Dec 1969

    Default Serch folder/subfolder dynamically.

    Hi,<BR><BR>I want to search the folder name /subfolder name dynamically. I have done it for specific folder but if there are more than one folders, how can i do it ? (i.e. there are five folders named 1111,1112,1113,2222,2223 and If I give "11" in search string it should give three folder name (1111,1112,1113).<BR><BR>Can anybody help me out ?<BR><BR>thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: Serch folder/subfolder dynamically.

    Get ALL subfolders in a given folder using the FileSystemObject (look at the reference for details).<BR><BR>Then, iterate through your array and use InStr() to pick out the folders to test...<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts