Adding Multiple images in in an email body

A

amitmehrotra123

HI

I am new to this forum and excel programming. I have created a macro an
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 i
replacing first image. Can soem one please help me on this

The code is mentioned belo

With OutMai
.To = strt
'.CC = strc
'.BCC = strbc
.Subject = strsub & strnme & strpipe & strdt
.Attachments.Add strat
.Attachments.Add stratt


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


.Sav
.Sen

End Wit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top