View Single Post
  #1  
Old October 28th 06, 06:07 PM posted to microsoft.public.outlook.program_vba
mml
external usenet poster
 
Posts: 5
Default How to set a long HTMLBody

Hi,

Thank's for any help.
Here's the point : I have to set an HTML background when opening an ItemMail
by code.

Her's my code :
CODE
Set MMLMsg = Application.CreateItem(olMailItem)
MMLMsg.BodyFormat = olFormatHTML
MMLMsg.HTMLBody= ?????
/CODE

How to write several lines of HTML code, including CSS style inside my VBA
code ?
Only one line is accepted...
Is it possible to set the content in a variable ?
How to do that ?
Other idea ?....



--
Best regards,

Marc


Ads