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
|