anish.ms
11-03-2022, 05:43 AM
Hi Experts,
I'm getting an error with the following code for saving the workbook after my desktop is synced with OneDrive. Could anyone please help me to solve this issue?
.SaveAs Filename:=Environ("USERPROFILE") & "\Desktop\" & NewWB_Name, _
FileFormat:=xlOpenXMLWorkbook
30304
Thanks in advance!
I'm getting an error with the following code for saving the workbook after my desktop is synced with OneDrive. Could anyone please help me to solve this issue?
.SaveAs Filename:=Environ("USERPROFILE") & "\Desktop\" & NewWB_Name, _
FileFormat:=xlOpenXMLWorkbook
30304
Thanks in advance!