Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Pathagoras1953

macrumors newbie
Original poster
Aug 22, 2011
7
0
Programming in VBA for Word 2011.

I need to find whether a certain file exists. I test with this call:

afile = Dir("MacIntosh HD:my folder:my file.dot")

It returns "Device Not Available". The device is available. I can navigate to it and see the file I am looking for.

Does case matter? It didn't seem to matter in calls substantially identical to this.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.