View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default sending email within a macro

This is part of the Security patch for outlook and can't be turned off.

You can get a dll called redemption I believe
http://www.dimastr.com/redemption/home.htm
but this probably requires programming Outlook

Another way is to use CDO. Ron de Bruin has information on this:
http://www.rondebruin.nl/index.html

Again, this is more complex than SendMail.

--
Regards,
Tom Ogilvy

Joe S. wrote in message
...
In my endless quest to automate my personal files, I'm
trying to have a macro email my cells in the body of an
email. I've done this using the

ActiveWorkbook.SendMail recipients:="Jean Selva"

vb command. Works great, just as I wanted. The only
problem is that it STILL prompts for user input. A
warning pops up saying that a program is automatically
sending email on my behalf. I must then wait 5 seconds
and press "yes."

How can I get rid of this warning. I haven't been able
to take vacation time because the data I send out is
critical, and I'm trying to get this stuff automated.