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:
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:
Connect with us: Facebook
© 2014 Best STL. All
Rights Reserved. info
All prices offered for business users and exclude VAT. E&OE · Terms
2nd Floor, CA House, 1 Northey Street
Limehouse Basin, London, E14 8BT