A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Emailing Activesheet As Body of Email



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 15th 07, 01:50 PM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Paul W Smith
external usenet poster
 
Posts: 14
Default Emailing Activesheet As Body of Email

I want to be able to send the contents of a Excel range in an Email. I do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email, including
any graphics on the sheet.

PWS



  #2  
Old December 15th 07, 02:11 PM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Ron de Bruin
external usenet poster
 
Posts: 14
Default Emailing Activesheet As Body of Email

Hi Paul

Activesheet.MailEnvelope is the only good way on this moment
I am working on a CDO way but this one is not ready yet

--

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


"Paul W Smith" wrote in message ...
I want to be able to send the contents of a Excel range in an Email. I do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email, including
any graphics on the sheet.

PWS



  #3  
Old December 15th 07, 08:15 PM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Paul W Smith
external usenet poster
 
Posts: 14
Default Emailing Activesheet As Body of Email

Thanks Ron for the update.

I am being pressured at work to provide a solution hence my second post, I
was hoping that it therew as a way to include the graphic without using
Activesheet.MailEnvelope, I coud addapt the solution you provided a couple
of days ago.

Obviously as an MVP you have access to Microsoft others do not have, have
you invetsigated the possibility of getting some documentation on the
MailEnvelope. It seems to strange to me that you can set the .subject and
..Recipients properties, but apparently not any form of From or ReplyTo
property.

I have Microsoft Premier support at my company, but if you have already
investigated this I will not waste their time further.

PWS



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

Activesheet.MailEnvelope is the only good way on this moment
I am working on a CDO way but this one is not ready yet

--

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


"Paul W Smith" wrote in message
...
I want to be able to send the contents of a Excel range in an Email. I do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email,
including any graphics on the sheet.

PWS



  #4  
Old December 15th 07, 08:25 PM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Ron de Bruin
external usenet poster
 
Posts: 14
Default Emailing Activesheet As Body of Email

Hi Paul

They also hide this option in Excel 2007.

I not like the MailEnvelope code because it will use the Excel screen and
you must have Outlook setup as your default account.
I always have OE as default.

Drop me a mail private so I can send you a mail when the CDO code
when it is working correct. I will work on it next week.



--

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


"Paul W Smith" wrote in message ...
Thanks Ron for the update.

I am being pressured at work to provide a solution hence my second post, I
was hoping that it therew as a way to include the graphic without using
Activesheet.MailEnvelope, I coud addapt the solution you provided a couple
of days ago.

Obviously as an MVP you have access to Microsoft others do not have, have
you invetsigated the possibility of getting some documentation on the
MailEnvelope. It seems to strange to me that you can set the .subject and
.Recipients properties, but apparently not any form of From or ReplyTo
property.

I have Microsoft Premier support at my company, but if you have already
investigated this I will not waste their time further.

PWS



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

Activesheet.MailEnvelope is the only good way on this moment
I am working on a CDO way but this one is not ready yet

--

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


"Paul W Smith" wrote in message
...
I want to be able to send the contents of a Excel range in an Email. I do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email,
including any graphics on the sheet.

PWS



  #5  
Old December 15th 07, 08:32 PM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Emailing Activesheet As Body of Email

ActiveSheet.MailEnvelope.Item returns an Outlook.MailItem that works just like any other: Reply recipients are set through the ReplyRecipients collection. There is no direct way to set the sender, although providing a value to the SentOnBehalfOfName property will work in some scenaros.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Paul W Smith" wrote in message ...
Thanks Ron for the update.

I am being pressured at work to provide a solution hence my second post, I
was hoping that it therew as a way to include the graphic without using
Activesheet.MailEnvelope, I coud addapt the solution you provided a couple
of days ago.

Obviously as an MVP you have access to Microsoft others do not have, have
you invetsigated the possibility of getting some documentation on the
MailEnvelope. It seems to strange to me that you can set the .subject and
.Recipients properties, but apparently not any form of From or ReplyTo
property.

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

Activesheet.MailEnvelope is the only good way on this moment
I am working on a CDO way but this one is not ready yet

--

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


"Paul W Smith" wrote in message
...
I want to be able to send the contents of a Excel range in an Email. I do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email,
including any graphics on the sheet.

PWS



  #6  
Old December 16th 07, 11:00 AM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Paul W Smith
external usenet poster
 
Posts: 14
Default Emailing Activesheet As Body of Email

Is there a way of setting the ReplyTo address when using
Activesheet.MailEnvelope?

PWS


"Sue Mosher [MVP-Outlook]" wrote in message
...
ActiveSheet.MailEnvelope.Item returns an Outlook.MailItem that works just
like any other: Reply recipients are set through the ReplyRecipients
collection. There is no direct way to set the sender, although providing a
value to the SentOnBehalfOfName property will work in some scenaros.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Paul W Smith" wrote in message
...
Thanks Ron for the update.

I am being pressured at work to provide a solution hence my second post, I
was hoping that it therew as a way to include the graphic without using
Activesheet.MailEnvelope, I coud addapt the solution you provided a couple
of days ago.

Obviously as an MVP you have access to Microsoft others do not have, have
you invetsigated the possibility of getting some documentation on the
MailEnvelope. It seems to strange to me that you can set the .subject and
.Recipients properties, but apparently not any form of From or ReplyTo
property.

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

Activesheet.MailEnvelope is the only good way on this moment
I am working on a CDO way but this one is not ready yet

--

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


"Paul W Smith" wrote in message
...
I want to be able to send the contents of a Excel range in an Email. I
do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all
the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email,
including any graphics on the sheet.

PWS





  #7  
Old December 16th 07, 03:48 PM posted to microsoft.public.excel.programming,microsoft.public.outlook,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Emailing Activesheet As Body of Email

Yes, as I said, you need to return ActiveSheet.MailEnvelope.Item, which is a MailItem, and then work with its ReplyRecipients collection, just as you would its Recipients. Use the Add method.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Paul W Smith" wrote in message ...
Is there a way of setting the ReplyTo address when using
Activesheet.MailEnvelope?

PWS


"Sue Mosher [MVP-Outlook]" wrote in message
...
ActiveSheet.MailEnvelope.Item returns an Outlook.MailItem that works just
like any other: Reply recipients are set through the ReplyRecipients
collection. There is no direct way to set the sender, although providing a
value to the SentOnBehalfOfName property will work in some scenaros.



"Paul W Smith" wrote in message
...
Thanks Ron for the update.

I am being pressured at work to provide a solution hence my second post, I
was hoping that it therew as a way to include the graphic without using
Activesheet.MailEnvelope, I coud addapt the solution you provided a couple
of days ago.

Obviously as an MVP you have access to Microsoft others do not have, have
you invetsigated the possibility of getting some documentation on the
MailEnvelope. It seems to strange to me that you can set the .subject and
.Recipients properties, but apparently not any form of From or ReplyTo
property.

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

Activesheet.MailEnvelope is the only good way on this moment
I am working on a CDO way but this one is not ready yet

--

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


"Paul W Smith" wrote in message
...
I want to be able to send the contents of a Excel range in an Email. I
do
not want to send it as an attachment, I want it in the body of an Email.

The Excel page contains a logo graphic which is the problem using all
the
methods on Ron de Bruin's page, as I understand them.

I cannot see to find a way to send the page and logo (without using the
Activesheet.MailEnvelope).

Can anyone suggest a method of sending an Excel range in an Email,
including any graphics on the sheet.

PWS





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emailing Activesheet As Body of Email Paul W Smith Outlook - General Queries 10 December 17th 07 09:03 PM
gif image in email body The Gordons Outlook Express 7 May 31st 06 02:00 PM
no pictures in body of email Bruce & Marg Outlook - General Queries 2 April 28th 06 02:31 PM
Extracting email body (only last one) rg Outlook and VBA 1 February 27th 06 07:17 AM
Dragging an email to the Calendar drops the email body text yan Outlook - Calandaring 2 February 1st 06 02:23 AM


All times are GMT +1. The time now is 09:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.