Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help me with my first major Outlook VBA routine

Status
Not open for further replies.

newboy18

MIS
Apr 11, 2003
45
GB
Please help, I have written my first major VBA routine to send emails with attachments to customers, but for every one of the 150 emails being sent Outlook pops up with the message “A program is trying to send mail using Item.Send”. I can click Yes but not 150 times, and with a 5 second delay on every one.
What can I do, please don’t tell me that I have wasted the past 2 weeks?
Is there an option I can turn off, is there a “Yes to all” option / button, is there a registry fix like the one for Outlook attachments?
 
Newboy18,

Is the coding within Outlook or are using another program, if you use Excel to send to people you can bypass the security prompt,(win NT, Outlook 2000) I am not sure how to by pass it in Outlook though.

Rob.

Thanks Rob.[yoda]
 
Hi,
The routine is written in Access XP, I have found a utility called Express ClickYes, it works buy automaticaly clicking on the Yes box but it still has to wait 5 seconds for each email.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top