unleashed7
New Member
- Joined
- Dec 12, 2023
- Messages
- 2
- Office Version
- 2021
- Platform
- Windows
Hello, it's my first time here!
I'm stuck on this problem, as they updated Excel recently and can't force save file as default xlsm while it was working before for years.
This throws a 1004 error because "VB projects and XLM Sheets cannot be saved in a macro-free workbook".
Disabling alerts also doesn't help, as this is a Run-time error not an alert.
Funny thing is it almost seems like a bug, as if I try to save the file after this error as .xlsx manually the "Save" button literally does nothing, no warning or anything, just doesn't work. I can only save as an xlsm, and if I do save it like that, close excel then REOPEN this saved fuke, suddenly the Save button works for xlsm and asks me if I want to "Save and erase features" which I do.
Is there any way to solve this?
I'm stuck on this problem, as they updated Excel recently and can't force save file as default xlsm while it was working before for years.
VBA Code:
ActiveWorkbook.SaveAs "foo", 51
This throws a 1004 error because "VB projects and XLM Sheets cannot be saved in a macro-free workbook".
Disabling alerts also doesn't help, as this is a Run-time error not an alert.
Funny thing is it almost seems like a bug, as if I try to save the file after this error as .xlsx manually the "Save" button literally does nothing, no warning or anything, just doesn't work. I can only save as an xlsm, and if I do save it like that, close excel then REOPEN this saved fuke, suddenly the Save button works for xlsm and asks me if I want to "Save and erase features" which I do.
Is there any way to solve this?