View Single Post
  #6  
Old December 27th 08, 02:29 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook : Run the VBA macro on send button click



Paresh, what form do you talk about? The mentioned VBA code cannot be used
as VBScript behind a custom form.

--
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 Wed, 24 Dec 2008 03:15:01 -0800 schrieb masani paresh:

Thanks for the reply Michael. Could you please tell me how could I make

the
form default after adding this macro?

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