No of visitors who read this post: 461
Category: MS Excel
Type: Question
No votes yet

Trying to use the file search in the Office 2007, hence it does't work also Office 2010 also. A run-time error 445 Object doesn't support this action..

Run-time error '445': Object doesn't support this action.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#

Hi,

Office 2007 and 2010 VBA don't support Application.FileSearch more. It's quite surprising but true that the application has been removed from Office 2007 and 2010 and it has been done without any replacement. 

So, you will have to use the Scripting FileSystemObject for that. 

Cheers

Hathy

# (Solution Accepted)

Hello Gregory !

A file search option has been removed from Ms Office 2007 and Ms office 2010. You can use Old Dir as an alternate. For more information about the Dir function visit this site 

For search you have to pass in the file path .

Enjoy

Arsalan

ak