How can I have the text that is displayed in a custom popup message box to display with line breaks as opposed one continous message?
How can I have the text that is displayed in a custom popup message box to display with line breaks as opposed one continous message?
Try this:
Sub TwoLines()
Message = "Line 1" + Chr(13) + "Line 2"
MsgBox Message
End Sub
Actually, you could eve skip out the 2nd line, and just write:
Sub TwoLines()
MsgBox "Line 1" + Chr(13) + "Line 2"
End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks