soundtrackz
New Member
- Joined
- Dec 8, 2023
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
I have many macros with this and it suddenly stopped working - displaying runtime error 1004 - can't save from xlsm file to macro-free file.
Any idea, what happened?
Any idea, what happened?
VBA Code:
Sub Saving()
Dim strName As String
Application.DisplayAlerts = False
strName = ThisWorkbook.Path & "\SomeName.xlsx"
ThisWorkbook.SaveAs Filename:=strName, FileFormat:=xlOpenXMLWorkbook
Application.DisplayAlerts = True
End Sub