Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SendMail with Excel VBA - Outlook

Within a procedure in VBA (Excel), I send out a number of workbooks wit
SendMail (MAPI).

Each time this procedure runs, I get the following message on th
screen : (Microsoft Outlook):

A PROGRAM IS TRYING TO AUTOMATICALLY SEND E-MAIL ON YOUR BEHALF. D
YOU WANT TO ALLOW THIS?

Until the user answers this dialogbox, the procedure does not continu
but waits for the user input.

Is it possible to make this dialogbox NOT to appear

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default SendMail with Excel VBA - Outlook

See this page http://www.rondebruin.nl/mail/prevent.htm

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Bo_ " wrote in message
...
Within a procedure in VBA (Excel), I send out a number of workbooks with
SendMail (MAPI).

Each time this procedure runs, I get the following message on the
screen : (Microsoft Outlook):

A PROGRAM IS TRYING TO AUTOMATICALLY SEND E-MAIL ON YOUR BEHALF. DO
YOU WANT TO ALLOW THIS?

Until the user answers this dialogbox, the procedure does not continue
but waits for the user input.

Is it possible to make this dialogbox NOT to appear ?


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default SendMail with Excel VBA - Outlook

Hi
You need the CDO Library (CDO 6.0??) which is NOT part of the standard
Outlook installation. Look through
microsoft.public.outlook.program_vba on the details of CDO and where
to get it.
regards
Paul

Bo_ wrote in message ...
Within a procedure in VBA (Excel), I send out a number of workbooks with
SendMail (MAPI).

Each time this procedure runs, I get the following message on the
screen : (Microsoft Outlook):

A PROGRAM IS TRYING TO AUTOMATICALLY SEND E-MAIL ON YOUR BEHALF. DO
YOU WANT TO ALLOW THIS?

Until the user answers this dialogbox, the procedure does not continue
but waits for the user input.

Is it possible to make this dialogbox NOT to appear ?


---
Message posted from http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail macro problem in Excel vic1 Setting up and Configuration of Excel 10 May 28th 08 11:35 AM
excel open in outlook if outlook is running kirk Excel Discussion (Misc queries) 0 May 24th 06 06:42 PM
Invoke Outlook Express SendMail From Excel VBA Alan Excel Programming 1 February 6th 04 06:27 PM
Responding to Outlook Errors when useing Sendmail!! John Baker Excel Programming 0 February 1st 04 09:31 PM
SendMail and BCC Darrin Henry Excel Programming 1 September 13th 03 03:18 PM


All times are GMT +1. The time now is 04:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"