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

Outlook Message Formatting - thru Excel VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 30th 08, 03:12 AM posted to microsoft.public.outlook.program_vba
Amit
external usenet poster
 
Posts: 13
Default Outlook Message Formatting - thru Excel VBA

hi - I'm trying to put a command button in excel that will open a new mail in
outlook 2007 with a bunch of email addresses picked up from a rangeg of cells.

I have been able to achieve this, but need some guidance on putting text in
the message body. the intention is to have a table (or template) created in
the mail and then let the user fill the table up and send it.

any help would be much appreciated.
Ads
  #2  
Old June 30th 08, 02:25 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Message Formatting - thru Excel VBA

The best way to do that would be to use HTML encoding and to create the
table in the email HTMLBody property using HTML code to design the table. If
the table already exists then you could attach the template as an embedded
attachment, which would put it into the HTMLBody of the email.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"amit" wrote in message
news
hi - I'm trying to put a command button in excel that will open a new mail
in
outlook 2007 with a bunch of email addresses picked up from a rangeg of
cells.

I have been able to achieve this, but need some guidance on putting text
in
the message body. the intention is to have a table (or template) created
in
the mail and then let the user fill the table up and send it.

any help would be much appreciated.


 




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
Formatting toolbar in New Message box Fran Outlook Express 5 June 17th 08 01:53 AM
Query re Outlook 2000 message formatting... D.R. Outlook and VBA 1 September 15th 07 01:32 PM
Set the body of the message without losing the formatting Samuel Outlook - General Queries 5 July 19th 07 12:25 AM
Automatic formatting doesn't scan message body? Wowbagger Outlook - General Queries 1 September 12th 06 04:13 PM
Message Text Formatting and Size Mary Hustad Outlook Express 1 January 27th 06 04:20 AM


All times are GMT +1. The time now is 08:34 PM.


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