Results 1 to 1 of 1
2001-08-28, 00:30 #1
- Join Date
- Feb 2001
- Silicon Valley, USA
- Thanked 93 Times in 89 Posts
Application.FileSearch Frustration (Eng/Word 2002/Office XP on Win2000)
The FileSearch object in Office XP appears to behave quite differently than in Office 2000. For example, in 2002, a VBA-based or interactive search (File Open Search...) for "*.pst" on "C:" returns no files. Wrong! Similarly, a search for ".txt" returns only 2 files (which are in the Corel WordPerfect folder). Using Find Files... from the Start menu turns up .txt files all over the place. This does not appear to be a problem with user privileges at the OS level, but some kind of change in the FileSearch object itself.
Or, rather than beat our heads against this wall, does anyone have a good substitute? Something in the Windows API probably would do it, but it's a long way from here to working code and help would be welcome.