Tag Archives: File Exists

VBA Code: IsFile — Does a file exist?

Here is some code to determine if a file exists.  Requires reference to Microsoft Scripting Runtime.  (Error handling is commented out). Function IsFile(sFileName) As Boolean ‘—————————————————————– ‘Purpose: Checks for the existence of a file based on path/name passed in. ‘ … Continue reading

Posted in VBA Code | Tagged | Leave a comment