I'm not a VB guy, so I was wondering if someone out there could give me a quick hit of code . . .
I need to check a directory for a text file for a data query - and if the text file does exist, then to query it (I've got this working) - I just need an if . . . then statement to skip to the sub routine if the text file doesn't exist (so I don't get one of those ugly run time errors) . . . so like
IF text file exist
Do this
Else if text file does not exist
Do nothing
Thanks for any help!
Ethan Altaratz
I need to check a directory for a text file for a data query - and if the text file does exist, then to query it (I've got this working) - I just need an if . . . then statement to skip to the sub routine if the text file doesn't exist (so I don't get one of those ugly run time errors) . . . so like
IF text file exist
Do this
Else if text file does not exist
Do nothing
Thanks for any help!
Ethan Altaratz