Another Application is Trying ...

  • Thread starter Thread starter Michael Smith
  • Start date Start date
M

Michael Smith

Ok, have a neat little sub in excel that sends my excel file to an email
address via outlook. When this happens I get that "Another Application
is Trying to Send Mail on your behalf" msgbox which I need to click YES
before it continues with my subroutine.
Anyway to not show that...and just send the file?? It's an Outlook
prompt at that point, so displayalerts=false isn't cutting the mustard.

TIA - mike
 
I tried the Application.SendKeys "%S" piece, but no luck...if you have a
little snipet of code that forces the "yes" key,...that would probably
work better for security anyway. If you wouldn't mind, that piece would
be greatly appreciated. Great site Ron, it's bookmarked and will be a
great resource. Thanks!
 
This sub will be used on different machines, including a few machines
running Win98. Will CDO still work?
 
This sub will be used on different machines, including a few machines
running Win98. Will CDO still work?

No

See the other links in the Outlook part of the site

Now Do you know why I love Outlook Express and CDO.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top