Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - General Queries (http://www.outlookbanter.com/outlook-general-queries/)
-   -   Copy from Excel and Paste into Outlook (http://www.outlookbanter.com/outlook-general-queries/52281-copy-excel-paste-into-outlook.html)

thearch July 11th 07 04:24 PM

Copy from Excel and Paste into Outlook
 
Hi all,

I am trying to automate the following procedure, but I have no clue as
how to do it.

Could you please advise?

I have a spreadsheet, and I want to copy the contents of a Range, WITH
formatting, and paste them into an HTML Email on Outlook.

How do I do it with VBA?

Thanks

Alessandro


Sue Mosher [MVP-Outlook] July 11th 07 05:06 PM

Copy from Excel and Paste into Outlook
 
One method that might help is documented he http://www.outlookcode.com/threads.a...essageid=20232

Also, the method shown here -- http://www.outlookcode.com/codedetail.aspx?id=1333 -- is for Word, but can also be used in Excel. You could, for example, copy and paste the desired range to a new worksheet then send it with this technique.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm....program_v ba

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


"thearch" wrote in message oups.com...
Hi all,

I am trying to automate the following procedure, but I have no clue as
how to do it.

Could you please advise?

I have a spreadsheet, and I want to copy the contents of a Range, WITH
formatting, and paste them into an HTML Email on Outlook.

How do I do it with VBA?

Thanks

Alessandro


thearch July 11th 07 06:01 PM

Copy from Excel and Paste into Outlook
 
Thanks a lot!

It seems like it works...


thearch July 11th 07 07:32 PM

Copy from Excel and Paste into Outlook
 
On 11 Jul, 18:01, thearch wrote:
Thanks a lot!

It seems like it works...


Do you have an idea about why images on the mail do not show up??

Thanks again



All times are GMT +1. The time now is 11:24 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-2006 OutlookBanter.com