I'm trying to test if a file exists, then display a message if it doesn't. The code I'm entering does not work at all. What am I doing wrong?
Dim MyPath As String
MyPath = CurDir()
Dim strfilename As String
strfilename = MyPath & "\Instructions%20for%20CAFP%20Inventory%20Program. doc"
If strfilename = "" Then
MsgBox "File does not exist"
End If