Macro button to search directory

C

cam

I want a command button within a form that will search a specific directory
on my hard drive for a .jpg file. The macro should use the field "Type" from
the form and find the .jpg file that has the same name as the current value
"Type"

Thanks,
 
S

Steve Schapel

Cam,

Search for the file,... and then what? You can use the Dir() function
in the Condition of a macro to see if the file exists - is that your
objective?
 

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