Hello All,
I have 2 Workbooks which use the same code listed below to save each Workbook. The issue is, the below code will not work when both Workbooks are open. I am receiving the following error:
Run-Tim error '1004':
You cannot save this workbook with the same name as another open workbook or add-in. Choose a different name, or close the other workbook or add-in before saving.
Both Workbooks have a different name. I cannot figure out the issue. Any direction would be appreciated.
---------------------------------------------
Moderators note: Lonney, you almosy had teh code tags correct![]()
Sub SaveFileWhiteBoard() Application.DisplayAlerts = False ActiveWorkbook.SaveAs Filename:= _ "C:\Users\lonneyk\Google Drive\WhiteBoardBinary.xlsm", FileFormat:= _ xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False Application.DisplayAlerts = True StartTimerWhiteBoard End Sub
You need to use [ not <
![]()
Bookmarks