Visual Basic FileSearch Problem within an Excel Workbook

G

Glen

I have written a file seach Visual Basic program that
searches a folder for all files that contain specified
test. The file search works fine except when it
encounters an Excel file. Then the program terminates and
closes all Excel windows. The Excel workbook is opened in
a folder that is not involved in the file search.

I would appreciate any suggestions. Currently, as a stop
gap, I sceen the folder for any Excel files and remove
them before seaching that folder.

Glen
 

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