Script to send excel sheet at close of excel
Closed
gregoryps
Posts
8
Registration date
Tuesday June 8, 2010
Status
Member
Last seen
June 11, 2010
-
Jun 9, 2010 at 11:10 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 9, 2010 at 12:36 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 9, 2010 at 12:36 PM
Related:
- Batch script to send email automatically
- Net send windows 11 - Guide
- Download automatically while roaming - Guide
- No email no password - Guide
- How to refresh outlook email - Guide
- Why does facebook refresh itself automatically - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 9, 2010 at 11:37 AM
Jun 9, 2010 at 11:37 AM
Define you email routine under "ThisWorkbook"
This is the routine that you need to target for emailing
Private Sub Workbook_BeforeClose(Cancel As Boolean)
End Sub
This is the routine that you need to target for emailing
Private Sub Workbook_BeforeClose(Cancel As Boolean)
End Sub
Jun 9, 2010 at 11:55 AM
Jun 9, 2010 at 12:36 PM
Here is a good example
https://www.ozgrid.com/VBA/send-email.htm