![]() |
![]() |
|
|||||||
| 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: Feb 2002
Location: Hengelo
Posts: 79
|
Hello,
I want to have the following sentences in a msgbox in exact the same way: You have made an error! Plaese erase cell A1 Thank you! I get the sentences after each other, how do I insert a 'enter'?!?!
__________________
Best regards, Martin J.A. Maatman Oonk |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Hi,
At least three ways. All return the same thing... MsgBox "You have made an error" & vbCr & "Please erase cell Al" & vbCr & "Thank you" MsgBox "You have made an error" & Chr(10) & "Please erase cell Al" & Chr(10) & "Thank you" MsgBox "You have made an error" & Chr(13) & "Please erase cell Al" & Chr(13) & "Thank you" |
|
|
|
|
|
#3 | |
|
Board Regular
Join Date: Feb 2002
Location: Hengelo
Posts: 79
|
Quote:
__________________
Best regards, Martin J.A. Maatman Oonk |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|