Similar to the way I showed you for the email addresses. For example, if the text is in cell A4 on Sheet1, change:
Code:
HTMLbody = "< p>Links to files on local computer:< /p>" & _
"< a href='file:///f:\temp\excel\test.csv'>test.csv< />< br>" & _
"< a href='file:///f:\temp\excel'>Excel folder< />"
to:
Code:
HTMLbody = "< p>" & Sheets("Sheet1").Range("A4").Text & "< /p>" & _
"< a href='file:///f:\temp\excel\test.csv'>test.csv< />< br>" & _
"< a href='file:///f:\temp\excel'>Excel folder< />"
Put each paragraph of text between a paragraph opening tag (< p>) and its closing tag (< /p>) in the HTML code - see
http://www.w3schools.com/tags/tag_p.asp. The < br> tag is a line break - see
http://www.w3schools.com/tags/tag_br.asp