Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
john
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

My name is John. I am running a program in excell that runs macro. Part of
this macro is to automaticaly send an e-mail with the spreadsheet attached. I
get the warning that a program is trying to send e-mail on your behalf. The
options I have are Yes, No or Help. How can I stop this warning message
from appearing?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

Hi John

http://www.rondebruin.nl/mail/prevent.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl


"john" wrote in message ...
My name is John. I am running a program in excell that runs macro. Part of
this macro is to automaticaly send an e-mail with the spreadsheet attached. I
get the warning that a program is trying to send e-mail on your behalf. The
options I have are Yes, No or Help. How can I stop this warning message
from appearing?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Crowbar via OfficeKB.com
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

Hi

At the start of the macro type:

Application.DisplayAlerts = False

and you wont get any warnings

You can use

Application.ScreenUpdating = False

this stops you seeing the macro doing its stuff (therefore your macro will
run faster)

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200601/1
  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

Hi Crowbar

This is not working for the Outlook or Outlook Express security warning.


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Crowbar via OfficeKB.com" <u15117@uwe wrote in message news:5ae5ce9c0a0fd@uwe...
Hi

At the start of the macro type:

Application.DisplayAlerts = False

and you wont get any warnings

You can use

Application.ScreenUpdating = False

this stops you seeing the macro doing its stuff (therefore your macro will
run faster)

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200601/1



  #5   Report Post  
Posted to microsoft.public.excel.misc
Crowbar via OfficeKB.com
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

Private sub AutoEmail()

ActiveWorkbook.SendMail "

end sub

This works for me!

The only trouble is, is that outlook must be open or they won't send, I use
this daily to send to 50 people and never get a message

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200601/1


  #6   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

In Outlook Express you can turn it of
http://www.rondebruin.nl/mail/prevent.htm

Or you use Excel 97 or 2000 not up to date



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Crowbar via OfficeKB.com" <u15117@uwe wrote in message news:5ae662431f6c5@uwe...
Private sub AutoEmail()

ActiveWorkbook.SendMail "

end sub

This works for me!

The only trouble is, is that outlook must be open or they won't send, I use
this daily to send to 50 people and never get a message

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200601/1



  #7   Report Post  
Posted to microsoft.public.excel.misc
Crowbar via OfficeKB.com
 
Posts: n/a
Default How can I automate an e-mail to be send in macro?

Your right mate,

I'm using an old version at work

I'm out of ideas

Why not downgrade? (only kiddin) :-)

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200601/1
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
Automate Macro Sherry Excel Discussion (Misc queries) 4 May 16th 08 06:18 PM
Send Mail with Lotus Notes tjtjjtjt Excel Discussion (Misc queries) 2 October 20th 05 01:08 AM
Can I record or write a macro to send a worksheet via Outlook? Catherine Excel Discussion (Misc queries) 1 September 14th 05 04:15 AM
How do I write a macro for a button to send user to a custom view? Hugnuffer Excel Discussion (Misc queries) 1 August 16th 05 06:34 PM
Send to mail recipient (as attachement) is greyed out Phan Excel Discussion (Misc queries) 2 May 18th 05 03:26 PM


All times are GMT +1. The time now is 01:20 PM.

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

About Us

"It's about Microsoft Excel"