jdcallejas
Registered User.
- Local time
- Today, 16:00
- Joined
- Jul 1, 2008
- Messages
- 108
Hello,
Ok I have a form timer where I set the timer event to send an email of a report every morning at 1145am. This works fine.
Now I need to make this code do the following; I need to have this report sent on the 10th of each month. How can I do that? Here is the code that I have right now:
Private Sub Form_Timer()
If Format(Now(), "hh:mm:ss") = "11:45:00" Then
DoCmd.SendObject acSendReport, "AM Email Tracker Report", "Rich Text Format", "rbenton@wm.com,dhall2@wm.com", , "Trackers", "Attached please find AM Traker Report for today", False
End If
End Sub
Thanks
Daniel
Ok I have a form timer where I set the timer event to send an email of a report every morning at 1145am. This works fine.
Now I need to make this code do the following; I need to have this report sent on the 10th of each month. How can I do that? Here is the code that I have right now:
Private Sub Form_Timer()
If Format(Now(), "hh:mm:ss") = "11:45:00" Then
DoCmd.SendObject acSendReport, "AM Email Tracker Report", "Rich Text Format", "rbenton@wm.com,dhall2@wm.com", , "Trackers", "Attached please find AM Traker Report for today", False
End If
End Sub
Thanks
Daniel