Hi,

I have some code that gets a file's path. However, the files I access are now on SharePoint. It appears that I am unable to use the code as is now. Am I doing something wrong? Is there a work around to this? See code below. The path I get with the code is https://sharepoint.com... (It's the web address) I get the "Bad file name or number" error on: If Dir(myFileName & SaveExt) = "" Then.

Please Login or Register  to view this content.