Setting reminder on mail send, worked yesterday, not today

  • Thread starter Thread starter Rachelle
  • Start date Start date
R

Rachelle

I am constantly forgetting to add attachments that need to
go out in e-mail, so I built a little reminder to pop-up
every time I send mail to ask me If I had added my
attachments.

The code is...

Private Sub Application_ItemSend(ByVal Item As Object,
Cancel As Boolean)
Prompt$ = "Have you added any attachments that need to
go?"
If MsgBox(Prompt$, vbYesNo + vbQuestion, "Sample") =
vbNo Then
Cancel = True
End If
End Sub

It worked fine yesterday when I added it, but today it is
not firing. I tried adding it on other events and those
aren't firing either. Is there some setting to allow VB
to run or not?
 
Check your macro security lately? Tools | Macros | Security. I usually keep mine at Medium so I'll be certain to get a prompt when VBA loads.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top