Another Application is Trying ...

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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
M

Michael Smith

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!



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
M

Michael Smith

This sub will be used on different machines, including a few machines
running Win98. Will CDO still work?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
R

Ron de Bruin

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

Similar Threads

Data Form 1
Last Cell 3
Group All Sheets in a workbook 1
Changing Dim? 10
View only UserForm? 4
usage "AddressOf TimerProc" in Excel97 1
Excel in VB6 1
Inserting a variable number of rows in a worksheet 1

Top