Hi Below code will took the outlook mail body from a selection range in Excel.
i this code itself want to take the subject from a cell reference.(B2)
The cell B2 contain the Subject matter.So the subject should take from the B2 cell reference and the mail body part will be from a selection range.
the code is given below.
With OutMail
.To = "[email protected]"
.CC = ""
.BCC = ""
.Subject = "This is the Subject line"
.HTMLBody = RangetoHTML(rng)
'.Send 'or use
.Display
End With
Regards
Shibu P V
Bookmarks