SyntaxFix
Write A Post
Hire A Developer
Questions
A way that is clean and short:
Public Function IsFile(s) IsFile = CreateObject("Scripting.FileSystemObject").FileExists(s) End Function