Oh... I fixed it. This works!
VB Code:
Private Function FileExists(FullFileName As String) As Boolean On Error GoTo CheckError If Len(Dir(FullFileName, vbNormal)) = 0 Then FileExsist = False Else FileExisit = True End If Exit Function CheckError: FileExists = False End Function




Reply With Quote