All these are not "perfect" solutions. Rather protheses. But work :-)
If you can afford saving the workbook - save it after the code is called. There shall be no problem with second attempt.
If not - before mailing make a copy of current workbook, mail what is needed and destroy. For instance like this:
Administrative Note:
Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.
Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
Bookmarks