M
Michael
I am trying to determine the presence of a file using the
DIR command as follows:
If Len(Dir(path & wbook)>0 Then
'File Found
End If
However, when the path variable is not available, my
macro aborts with the error message "Path not Found".
I'd appreciate any suggestions on how I can determine the
path is not present before I get the error message.
Thanks for any suggestions.
DIR command as follows:
If Len(Dir(path & wbook)>0 Then
'File Found
End If
However, when the path variable is not available, my
macro aborts with the error message "Path not Found".
I'd appreciate any suggestions on how I can determine the
path is not present before I get the error message.
Thanks for any suggestions.