![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
Hi there, I have some VB code designed to write an email. It works great, but I'd like to put a separate line in the body of the mail. The code I am using for the body is: .Body = "Thank you for your quick reply" I have tried putting another .Body line in underneath but it only accepts the latter one. I have also tried putting '& "Yours Sincerely...' but it just tacks it onto the main body line. Can anyone help? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
How about something like:
Use "& vbNewLine" to start on a new line. HTH |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 76
|
You hero, thanks Mark xxxxx |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|