Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default Why does this work now?

I posted a query about sending a mail from Excel (controlling Outlook) and
thanks to a reply I have got it working, but I don't understand why. It
seems that the only change I had to make is this line
"[ApplicationObjectReference].Session.Logon" - and sure enough when I add
this line it all works fine. Does anyone know what this line does?

Thanks

M

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Why does this work now?

Hi Michelle

If you see all the examples on my site have this line
In Excel 2007 you must add this line (not needed in older versions)

If I remember correct you only need it when you mail text in the body of the mail.
If you add a attachment it is working without

But Why ??
In the 2007 Beta I find this problem and this is the solution and then it is OK for me <g


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Michelle" wrote in message ...
I posted a query about sending a mail from Excel (controlling Outlook) and
thanks to a reply I have got it working, but I don't understand why. It
seems that the only change I had to make is this line
"[ApplicationObjectReference].Session.Logon" - and sure enough when I add
this line it all works fine. Does anyone know what this line does?

Thanks

M

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default Why does this work now?

Thanks Ron, I don't know what it does, but it all works now, which is
fantastic.

Thanks to everyone who's helped.

M

"Ron de Bruin" wrote in message
...
Hi Michelle

If you see all the examples on my site have this line
In Excel 2007 you must add this line (not needed in older versions)

If I remember correct you only need it when you mail text in the body of
the mail.
If you add a attachment it is working without

But Why ??
In the 2007 Beta I find this problem and this is the solution and then it
is OK for me <g


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Michelle" wrote in message
...
I posted a query about sending a mail from Excel (controlling Outlook) and
thanks to a reply I have got it working, but I don't understand why. It
seems that the only change I had to make is this line
"[ApplicationObjectReference].Session.Logon" - and sure enough when I add
this line it all works fine. Does anyone know what this line does?

Thanks

M


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
Macro to update a column in a work based on another work sheet WickerMan New Users to Excel 1 December 4th 09 12:58 PM
how can i automatically generate work order numbers from work orde rob h Excel Discussion (Misc queries) 1 July 13th 09 07:59 PM
flash object dont work in my excel work sheet Nitn Excel Discussion (Misc queries) 0 July 4th 09 08:00 AM
HOW TO MAKE A LIST OF WORK SHEET IN WORK BOOK IN EXCEL 2007 goutam Excel Programming 1 February 1st 08 07:40 AM
If I have a work sheet protected and try to run a macro to hide rows or columns it won't work. Correct? Marc Excel Programming 2 July 12th 06 04:10 AM


All times are GMT +1. The time now is 08:44 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"