putting a save event in a beforesave_event creates an infinite loop that's guaranteed to crash the program, unless you disable events in a line prior to the save event, then re-enable events in the line after, in which case it saves twice.
The code below accomplishes the important part of what I set out to do, which is run spellcheck on a protected sheet and prevent users from leaving certain cells blank before saving. I will try to figure out how to use getSaveasName to extract the save name from a cell, but for now this is good enough. The accompanying BeforeClose event is necessary to keep the program from freezing at close. Application.Events will re-enable automatically next time you open the file.
Bookmarks