Could someone please advice me on a bit of code to run in a macro that will check for the existance of 3 other excel spreadsheets before the macro trys to open them.
Like duh, Excel 97 is so yesterday. It's not even supported by Microsoft anymore
Try
If Dir("T:\Apps Support\RELOGS\Call Analysis.xls") <> "" Then ' the file exists, returns "" (empty string) if the file doesn't exist.
MsgBox "File Exists"
Else
MsgBox "File does not exist"
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.