Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I use this to send a email in excel With objMail .To = addee .Subject = "Booking" .HTMLBody = msg .Display .Send End With Its allright but there come a warning from outlook thats also allright but if i here cancel the email the system goes down , how can i get arounf this? MAybe a If -else -then or something like that? Alvin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Alvin,
i haven't looked at mailing or mailing objects but i would try to surround the code with DisplayAlerts application.DisplayAlerts=False With objMail .To = addee .Subject = "Booking" .HTMLBody = msg .Display .Send End With application.DisplayAlerts=True "Alvin Hansen" wrote: Hi I use this to send a email in excel With objMail .To = addee .Subject = "Booking" .HTMLBody = msg .Display .Send End With Its allright but there come a warning from outlook thats also allright but if i here cancel the email the system goes down , how can i get arounf this? MAybe a If -else -then or something like that? Alvin |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Alvin
Look here http://www.rondebruin.nl/mail/prevent.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Alvin Hansen" wrote in message ... Hi I use this to send a email in excel With objMail .To = addee .Subject = "Booking" .HTMLBody = msg .Display .Send End With Its allright but there come a warning from outlook thats also allright but if i here cancel the email the system goes down , how can i get arounf this? MAybe a If -else -then or something like that? Alvin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Macro how to create email link for the email addresses in aRange or Selection | Excel Worksheet Functions | |||
send wkbk as an email attachment with an email address copied from | Excel Discussion (Misc queries) | |||
can I copy a column of email addresses, paste into email address? | New Users to Excel | |||
Transfer Email addresses from spreadsheet to email address book | Excel Discussion (Misc queries) | |||
Email editor closes when forwarding Excel-embedded email | Setting up and Configuration of Excel |