Add a new line in a Message Box

This tutorial shows how to add a new line in a message box through the use of VBA

METHOD 1. Add a new line in a Message Box using VBA

VBA

Sub Add_New_Line_in_Message_Box()
MsgBox "Message in Line 1" & vbNewLine & "Message in Line 2"

End Sub

ADJUSTABLE PARAMETERS
Message: You can change the message in the first and second line by changing "Message in Line 1" and "Message in Line 2", respectively, in the VBA code.

Explanation about how to add a new line in a Message Box

EXPLANATION

EXPLANATION

This tutorial shows how to add a new line in a message box through the use of VBA.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to create a message box through the use of VBA
How to create a message box and display a value that is captured in a specific cell through the use of VBA