Automatic email once file is closed

mjmoon

Board Regular
Joined
Mar 1, 2005
Messages
249
Greetings:
I would like to write a macro that once a user does a file save and exits out of a specific file it will automatically generate an email notification to a specific person. Any thougths on how I would write the code and even if it is feasible?

Thanks for your consideration. Marc
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Thanks for your tip, everything worked except I am getting a Microsoft Office Outlook message that states the following: A program is trying to send and e-mail message on your behlf. It this is unexpected, click Deny and verify your anitvirus software is up-to-date. For more information about e-mail safety and how you might be able to avoid getting this warning, click Help.

Is there anyway I can rid of this message with sometype of code. This will just end up confusing my users.
 
Upvote 0
Thanks. After reading that I decided to use the .display code versus the .send. It was getting over my head on how to correct that and I don't have the energy to work this through with my IS department. Thanks you again!
 
Upvote 0

Forum statistics

Threads
1,224,594
Messages
6,179,794
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top