Hassle-free live chat software re-imagined for business growth. 2 users, always free.
Sub Mail_small_Text_Outlook() 'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm 'Working in Office 2000-2016 Dim OutApp As Object Dim OutMail As Object Dim strbody As String Set OutApp = CreateObject("Outlook.Application") Set OutMail = OutApp.CreateItem(0) strbody = "Hi there" & vbNewLine & vbNewLine & _ "This is line 1" & vbNewLine & _ "This is line 2" & vbNewLine & _ "This is line 3" & vbNewLine & _ "This is line 4" On Error Resume Next With OutMail .To = "firstname.lastname@example.org" .CC = "" .BCC = "" .Subject = "This is the Subject line" .Body = strbody .Send End With On Error GoTo 0 Set OutMail = Nothing Set OutApp = Nothing End Sub
|Getting the Error "User-defined type not defined" in MS Access 2013||16||41|
|Incorporate VBA Code to work with Original Workbook||23||35|
|ensure than when a form opens it always starts with a NEW record||2||11|
|nested if statement in excel help||4||0|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
22 Experts available now in Live!