Function fileExists(filename) As Boolean
Dim fso, msg
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.fileExists(filename)) Then
fileExists = True
Exit Function
Else
fileExists = False
Exit Function
End If
End Function
No hay comentarios:
Publicar un comentario