Email excel file automatically after update and save.

SAdam

New Member
Joined
Jul 10, 2015
Messages
6
Hi, I looked around and could not find. Is there a way for excel to automatically email the file after it has been updated and saved while on a network drive?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
see the first link at this page of Ron de Bruin's great site https://www.rondebruin.nl/win/s1/outlook/mail.htm

https://www.rondebruin.nl/win/s1/outlook/amail1.htm

Not sure if you need more help than that?

If so, in addition to adding Ron's code to your file add this to the file's workbook module,
Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Call Mail_workbook_Outlook_1
End Sub

Please modify the above as required to do what you need. cheers

PS You may prefer one of the other versions Ron offers. That is Mail_workbook_Outlook_2 or Mail_workbook_Outlook_3
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,448
Members
448,966
Latest member
DannyC96

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