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
Word 2010 Styles / Paragraph Issues
Shrinking an Adobe Illustrator image (logo) to fit on a Business Card Background
remote sql server update slow
C# Getter Setter Question?
Switching hardware on a SBS 2003 server
Metting requests
Chnaging Microsoft Business Contact Manager File Location
remove a letter off front of numbers in a field
how i connect to sql 2008 from sql studio management 2005
Setup callerID in asterisk 1.6 with dadhi using a T1