![]() |
![]() |
|
|||||||
| 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
Location: Midlands, UK
Posts: 217
|
Hi,
Is it possible to show the text in a msgbox on different lines ? eg Currently : An email will now be sent to the project manager and to the person responsible for the concern. You will receive a warning message from Outlook - this is normal and OK which wraps when it gets to the end of the msgbox Would like : An email will now be sent to the project manager and to the person responsible for the concern. You will receive a warning message from Outlook - this is normal and OK |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
the Chr$ representation of a line feed or carriage return or the VBA constants eg "your text 1st line" & vbcr & "next line" OR "your text 1st line" & chr(13) & "next line" |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Midlands, UK
Posts: 217
|
Thanks Ivan. I'd guessed it would be an ASCII character, but didn't know which one. The vbcr is a new one to me.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|