Created
March 21, 2013 17:45
-
-
Save can3p/5215043 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function FileExists(ByVal fname As String) As String | |
Dim objFSO As Object | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
If objFSO.FileExists(fname) Then | |
FileExists = "1" | |
Else | |
FileExists = "0" | |
End If | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment