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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top