Pathagoras
09-04-2011, 12:11 PM
In Word ((Windows), when I want to check for the presence of a file in a foler, I use:
IsThere=Dir("C:\folder\filename.doc")
If IsThere returns "" then the document is not there. If it returns "filename.doc", it's there.
I cannot seem to duplicate this in Word2011 (Mac)? That same command returns "Error 68, Device not available" and makes me click a button to exit the error screen when the document does not exist.
What am I doing wrong? There must be a way!
IsThere=Dir("C:\folder\filename.doc")
If IsThere returns "" then the document is not there. If it returns "filename.doc", it's there.
I cannot seem to duplicate this in Word2011 (Mac)? That same command returns "Error 68, Device not available" and makes me click a button to exit the error screen when the document does not exist.
What am I doing wrong? There must be a way!