To change the subject, use the Subject parameter.
ActiveWorkbook.SendMail Recipients:="JohnDoe@fake.com", subject:="My subject line"
ActiveWorkbook.SendMail _
Recipients:="JohnDoe@fake.com", _
subject:="Fixed part of subject line: " & Worksheets("Ad hoc").Range("A23").value
Roy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.