Microsoft
Software
Hardware
Network
Question : Inserting new line into Outlook message text using vba
I'm programtically inserting fileds from an Access database into an Outlook email message. The problem is that I would like each field to be inserted on a new line.
I am using the following code:
DoCmd.SendObject _
objecttype:=acSendReport, _
ObjectName:="CFS - Single Complaint View email", _
outputformat:=acFormatTXT,
_
To:=Me.Opened_By, _
Bcc:=strEmail, _
subject:="Complaint number: " & Me.Complaint_Number & " Customer Name: " & Me.Customer_Name, _
MessageText:="Complaint Description: " & Me.Complaint_Description & " Containment Action: " & Me.Containment_Action & " Containment Date: " & Me.Containment_Date, _
TemplateFile:=""
Answer : Inserting new line into Outlook message text using vba
Add:
"text1" & vbCrLf & "Text2"
Random Solutions
How can I change the recordsource of a subform from a different form?
Manual Feed
How to automatically change number color in Excel cell
cannot connect to virtual machines in hyper-v console
enterprise vault doesn't work on a pc
How to convert First Function from MS Acess to T-SQL
CSV export from a database
Help on Stored Procedure
Oracle trigger not fire when update with null
XPP PC Can't Access Win7 PC