I'm using a DIR function to check the existence of asaved file in Sharepoint, but each variation of strFilename used: strFilename = <My URL> & ShrtNamestrFilename = "//teamportalprod1.xxx.org/sites/RCSvcsInfo/RCS_APPS_Productivity/SharedDocuments/Productivity/" & ShrtName strFileExists = Dir(strFilename, vbDirectory)returns a runtime error 52 - "Bad file name ornumber" I am able to save the file using <URL> & ShrtName