![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Assuming an HTML-formatted message, how does one set the background image programmatically? Just like when you go Format - Background - Picture, and then browsing to the image. Don't want to use Sendkeys if at all possible. Thanks!
|
#2
|
|||
|
|||
![]()
Am Wed, 15 Feb 2006 15:51:44 -0800 schrieb Burma Jones:
In general this works: Public Sub SetBackgroundImage() Dim oMail As Outlook.MailItem Dim sText As String Set oMail = Application.CreateItem(olMailItem) sText = "body style='background-image:url(picture.jpg)'" sText = sText & "hallo" oMail.HTMLBody = sText oMail.Display End Sub -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Assuming an HTML-formatted message, how does one set the background image programmatically? Just like when you go Format - Background - Picture, and then browsing to the image. Don't want to use Sendkeys if at all possible. Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OE Background Music? | ColTom2 | Outlook Express | 7 | March 7th 06 12:02 AM |
[HELP] adding background musique | Merlin L'Enchanteur | Outlook Express | 4 | March 1st 06 05:04 PM |
How to set background image for ActiveInspector.CurrentItem? | Burma Jones | Outlook - Using Forms | 1 | February 20th 06 07:13 AM |
Signature with Image Problem | [email protected] | Outlook - General Queries | 0 | February 9th 06 04:28 PM |
background image problem OE6 | zMartha | Outlook Express | 1 | February 4th 06 01:18 AM |