View Single Post
  #8  
Old February 9th 09, 08:00 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

Thanks Carol,

The code mentioned by you is available at
http://ezinearticles.com/?The-Bigges...Scam&id=259190

It seems to be very useful and thanks for that. It seems to give false
alarm in below situation:

1. I got a mail which has "attach" word and also has attachment
2. Now if I reply to that mail(just to say thanks) without having
"attach" word as I dont want to attach anything then this macro ask for
attachment.

Could you tell me how to get rid of this.

Thanks,
Paresh

"Carol Bell" wrote:

I found a great macro like you are talking about but I can't remember the
site, but I included the top comment from his macro. Maybe you can do a
search for it.
' VBA program for Outlook, (c) Dan Evans. dan at danevans.co.uk
' Will check if your outgoing email mentions an attachment, but you've
' forgotten to attach it


"masani paresh" wrote:

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