Script to send excel sheet at close of excel
Closed
gregoryps
Posts
8
Registration date
Tuesday 8 June 2010
Status
Member
Last seen
11 June 2010
-
9 Jun 2010 à 11:10
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 9 Jun 2010 à 12:36
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 9 Jun 2010 à 12:36
Related:
- Batch script to send email automatically
- Net send - Guide
- Vba send email with attachment - Guide
- Batch convert word to pdf - Download - Other
- Apps to send money internationally - Guide
- How to type email on laptop - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
9 Jun 2010 à 11:37
9 Jun 2010 à 11:37
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
9 Jun 2010 à 11:55
9 Jun 2010 à 12:36
Here is a good example
https://www.ozgrid.com/VBA/send-email.htm