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
Cloud Computing
Select pulldown box B based on selection made in pulldown box A or data from database using php and javascript
Trying to use Microsoft Script Debugger
Retrieving email message count in PHP without storing password in cleartext
Ability to Group rows with Microsoft Excel Interop C#
How do I summarise totals per category?
Installed new 3rd party cert Exchange 2010 outlook web App and email not working after reboot
domain controller is unavailable
Problem installing PHP on IIS5.1
No IP address via Wired Connection but getting IP address via Wireless on Windows 7 connecting to new SBS 2008