What.
The.
HELL.
The code I'm using (which has been working flawlessly for years) DISABLES the save button (gives you a message to use "SAVEAS" if "SAVE" is clicked and then exits sub". When SAVEAS is clicked, it automatically saves the file with a predesignated name to a predesignated folder...or it's supposed to.
Now, no matter what happens, when the SAVE button is clicked, Excel opens the file menu and MAKES you select a filename and destination. Is this a new "feature"???
It works fine as long as you press SaveAs, but if someone clicks save, all hell breaks loose. This is the code to disable save that USED to work but now is NOT working):
...help
The.
HELL.
The code I'm using (which has been working flawlessly for years) DISABLES the save button (gives you a message to use "SAVEAS" if "SAVE" is clicked and then exits sub". When SAVEAS is clicked, it automatically saves the file with a predesignated name to a predesignated folder...or it's supposed to.
Now, no matter what happens, when the SAVE button is clicked, Excel opens the file menu and MAKES you select a filename and destination. Is this a new "feature"???
It works fine as long as you press SaveAs, but if someone clicks save, all hell breaks loose. This is the code to disable save that USED to work but now is NOT working):
Code:
If Range("AA2") <> 0 And ActiveWorkbook.Name = "PRESS REPORT1" And Not SaveAsUI Then
Cancel = True
MsgBox "Please use the SAVEAS option. Report not saved."
Exit Sub
End If
...help