Just an FYI for others that may run into this problem. I found several others had posted the problem to various forums. I tried the various proposed fixes and none worked for my particular case.
Anyway, my macro creates a custom sort list, sorts a range, then deletes the custom list. Excel 2010 would crash upon attempting to save the file after running the macro. I finally narrowed the cause to this line of code:
The best method I could come up with to prevent the crashing was to add the following lines:Please Login or Register to view this content.
...where A1:A2 is an empty range.Please Login or Register to view this content.
I'm open to a better method to prevent the crashing, but short of a better method, the above worked for me.
Bookmarks