Hints and tips home » VBA hints and tips » Display Text In a Msgbox On Multiple Lines
Display Text In a Msgbox On Multiple Lines
When displaying text in a MsgBox you may need to show it over multiple lines. To do this use:
vbCrLf
As in:
MsgBox "The System has detected an error." & vbCrLf & "Contact your System Administrator"
The first sentence in quotes will appear above the second in the MsgBox.
Added by Carlos on 24th November 2006
More VBA hints and tips, like:
|
How To Add A Watermark To Your Word Document Watermarks are a useful way to establish the status of a document, and they can give a professional look to business documents. Adding one in Word is a simple process. » Article: Word courses |
» Forum post: Printing |
» Tip: Text On Multiple Lines |



Course updates

