View Single Post
  #3  
Old December 24th 08, 03:51 AM posted to microsoft.public.outlook.program_vba
masani paresh[_2_]
external usenet poster
 
Posts: 84
Default Outlook : Run the VBA macro on send button click

Thaks for reply Michael. I did not know SendItem event is available. Could
you point me some example where I can use SendItem event?

How would I get the body of mail being sent? and How could I stop sending
mail if it not meets some requirements?

Thanks,
Paresh

"Michael Bauer [MVP - Outlook]" wrote:



You could capture the button click, but what about using the SendItem event?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Tue, 23 Dec 2008 07:21:01 -0800 schrieb masani paresh:

Hi Friends,

Is it possible to capture the send button click event from VBA code, read
the body of mail and display message box if there is no attachment

attached?

Thanks,
Paresh


Ads