This works in every situation. Its the best way to do it!
VB Code:
Private Function FileExists(FullFileName As String) As Boolean On Error GoTo CheckError If FileLen(FullFileName) = 0 Then FileExists = False Else FileExists = True End If Exit Function CheckError: FileExists = False End Function




Reply With Quote