Greetings!
I have some code that works in access (VBA), but I can't figgure out the VBS equivalent. Here is sample code:
With Application.FileSearch
.NewSearch
.LookIn = "C:\WINNT\"
.SearchSubFolders = True
'(more statements)
End With
The problem is that "FileSearch" needs to be part of "Application". You can't use "Application" in VBS, so the question is, how do I use "FileSearch" in VBS?
Thank you much!
The Ben
I have some code that works in access (VBA), but I can't figgure out the VBS equivalent. Here is sample code:
With Application.FileSearch
.NewSearch
.LookIn = "C:\WINNT\"
.SearchSubFolders = True
'(more statements)
End With
The problem is that "FileSearch" needs to be part of "Application". You can't use "Application" in VBS, so the question is, how do I use "FileSearch" in VBS?
Thank you much!
The Ben