Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Adding Multiple images in in an email body

HI

I am new to this forum and excel programming. I have created a macro and wants to place one image on top of another in the body of an email.

Instead of placing one image on top of another my second image is replacing first image. Can soem one please help me on this

The code is mentioned below

With OutMail
.To = strto
'.CC = strcc
'.BCC = strbcc
.Subject = strsub & strnme & strpipe & strdte
.Attachments.Add stratt
.Attachments.Add stratt2




.HTMLBody = "<html<head</head<body style='background: url(img src='cid:" & strpat2 & "') ' no-repeat;'<img src='cid:" & strpat & "' /</body</html"



.Save
.Send

End With
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Help: Email with voting buttons from excel, Body gets delete sam Excel Programming 0 March 23rd 10 03:47 PM
how do you email a portion of a worksheet (range) as an insert into the body of an email? Bruce[_2_] Excel Programming 3 May 31st 07 10:37 PM
Email Workseet as Body of email [email protected] Excel Programming 11 December 22nd 05 09:43 PM
Adding text to body of email with workbook attached. aph Excel Programming 3 December 5th 05 03:11 PM
body of email disappears when I send an email from Excel ~A Excel Discussion (Misc queries) 0 February 25th 05 10:55 PM


All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"