Word 2007 VBA- Application.filesearch

H

herman7

I have run into problem in Word 2007 with a macro I have used for years.

The macro uses the command
Application.Filesearch
..Lookin = "C:\Folder"

Application.Filesearch not available in the VBA shipped with Word 2007

MSDN website confirms this "Filesearch" property is not available with the
"Application" object. This can be verified by pressing period after
Application in a visual basic window.
What is the work around to get a list of all the files in a folder?
Thanks

Herman
 
Top