I can download files from SharePoint through VBA. But I can't seem to save the file back to SharePoint under a different name. I get a "Run-time error '1004': Method 'SaveAs' of Object '_Workbook' failed. Does anyone have any suggestions?
My line of code is:
My line of code is:
HTML:
ActiveWorkbook.SaveAs Filename:= _
"https://central.xxxx.com/corp/acctg/projects/Project Accounting/Chembio/Enzymes/Project Management/201011 Billing - 2121.xlsx" _
, FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False