Is there another way to check a drive other than the Dir command? Dir works for me only when the computer I am trying to access on the network is up and running, otherwise, I receive an error. If the cpu I am trying to access is up and running, this code works
[
availTest = Dir("the path + filename is placed here")
If availTest = "" Then 'empty, no file found
'I send a msg to the user here and exit the procedure
Else
'Access and use the file
End If
]
[
availTest = Dir("the path + filename is placed here")
If availTest = "" Then 'empty, no file found
'I send a msg to the user here and exit the procedure
Else
'Access and use the file
End If
]