Find File and Open

  • Thread starter Thread starter Pedro
  • Start date Start date
P

Pedro

Hi
What code shoul I write in order for it to search a pre-
defined filename and open that searched file?

Regards
Pedro
 
do you mean search for the file and open it?

Look at the vba help on the filesearch object.

Regards,
Tom Ogilvy
 
Hi Tom
I already saw the filesearch object help but they do not mention how to
open the searched file
 
where it says
MsgBox .FoundFiles(i)
modify to suit
FoundFiles(i).open
 
Hi Tom
The Help only explains how to search
that I already done. Know how do I open that searched
file?

Thanks
Pedro
 

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

Back
Top