View Single Post
  #1  
Old April 18th 08, 11:58 PM posted to microsoft.public.outlook.program_vba
Totem
external usenet poster
 
Posts: 2
Default Can I capture the event ItemSend from a macro?

Hi,

I'm trying to capture the ItemSend event from a macro (not an add-in), but
for whatever reason it's not hitting it. Even after restarting Outlook
(2007), it does not kick in. Do I have to do something special?

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
MsgBox("hi")
End Sub

or do I have to write an add-in?

Thanks

Ads