Finding a folder

K

kevin flock

Is there a way to find a folder with a partial name the
way you can find a file with a partial name?
 
P

Perry

Use the Dir() function

? dir("c:\temp", vbDirectory)
temp

or

? dir("c:\temp", 16)
temp

Krgrds,
Perry
 

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