Hi,
I am struggling with Runtime 1004 Error "method 'saveas' of object '_workbook' failed" when trying to save a copy of my workbook. I looked through many of similar posts here, but any solution helped. What I am basically trying to do is to save a copy of my 'master' file every time it refreshes Power Query and connected Pivot Tables... The code stops on .SaveAs line. Please see full code:
What is interesting, when I am pressing F8, the code actually saves the file into given location (SharePoint path staring with "https://sp. ..."), so the path seems to be ok.Please Login or Register to view this content.
Any clues what might be wrong here?
Bookmarks