Hi all,
In stead of doing the following
I would like to do something like:![]()
For Each Folder In FSO.GetFolder(DirPath).SubFolders '& SubFolders) If Folder.Name Like Filter Then MsgBox Folder.Name
Is there anyway to get a folder search for a variable instead a constant?![]()
For Each Folder In FSO.GetFolder(DirPath).SubFolders '& SubFolders) If Folder.Name Like ([*41B*] |[*41C*][*29X*][*8HW*]) Filter Then MsgBox Folder.Name
Thanks,
BDB
Bookmarks