Hi Whizbang,
Sorry, I was referring to the shortcut solution. I thought that the "BeforeClose" solution proposed was actually part of the "shortcut" solution.
Thanks for your help. From the testing I have done it works.
Are there any implications, for setting EnableEvents = False, i.e. messages I won't see or actions that won't happen?
Also, out of interest, is there a way of detecting that the workbook is closing? I'm pretty sure my code would have worked if I could have found such code.
~~~
code test:
Originally Posted by
Whizbang
In what way is it not appropriate? Which piece of advice were you referring to, the shortcut or the BeforeClose event?
As for code tags, if you select the "Go Advanced" option on the bottom-right of the Quick Reply box, you will get all sorts of tools to help you format your text. In the toolbar, there is an option for code.
Also, you can just type this:
Bookmarks