Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Exists?

Status
Not open for further replies.

uby

Programmer
Dec 14, 2004
23
US
Hello!

I have a workbook that looks for information in a "Source File". Within this source file there are files for each month. They are saved by month and year (mm-yy.xls). If that month does not exist, I want it to skip looking for the files and continue the procedure.

Is there a way to do this?


Thanks in advance!

Uby
 
Take a look at the Dir function

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks so much for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top