Dim ret As Long
ret = FileLen("c:\someFile.ext")
If ret > 0 Then
End If
Dim ret As Boolean
ret = FileLen("c:\someFile.ext") > 0
If ret = True Then
End If
Check if the File Exists.
Just Google the question first. Here's the link-> "http://www.vbforums.com/showthread.php?t=498720"