Microsoft
Software
Hardware
Network
Question : add line spaces within a VBA email message
How do you add line spaces within a VBA email message when vbLf doesn't work? For example, I have the below code but all spaces are ignored:
.Subject = "Par Plan Reimbursement Details"
.HTMLBody = (FirstnameC) & ", " & vbLf & _
vbCrLf & "attached is the detail Par Plan Reimbursement report(s) and spreadsheet(s), for servicing our members. " & _
"The check should arrive within the next couple of business days. If you have any questions, please contact " & _
"Bill Smith at (123) 456-7899 or email
[email protected]
. " & vbLf & _
(vbCr & vbLf & vbCrLf & vbCrLf & vbCrLf & vbCrLf & "Thank you for servicing our customers.")
.Attachments.Add pathname & [rstTables].[Contact] & ".zip"
Answer : add line spaces within a VBA email message
If you use the HTMLBody property, then you have to use HTML tags for formatting and for paragraph breaks.
If you use the Body property instead, your code will work as expected.
Random Solutions
NAT on ASA to a remote server
visual studio 2005 express
how to implement a elliptic curve cryptocraphy in java?
Info@... users Not receiving email
HP dl360 G6 Raid Driver for Windows 2008 64-bit
Mac backup: unsupported file characters
how do i create a vfp exe which i can call with command line parameters
Page.Title
How to block video and audio streaming in ISA 2006
How to install Solaris 10 in 2 disks at the same time or 4 disks using zfs, need good documentation on zfs