MsgBox(Prompt: String[, Title: String])
Displays a message in a dialog box, User must click OK or press Enter.
MsgBox function syntax has these named arguments:
Parameter |
Description |
Prompt |
Required. String expression displayed as the message in the dialog box. |
Title |
Optional. String expression displayed in the title bar of the dialog box. If you omit title,"Information" is displayed in the title bar. |
Usage:
MsgBox("This is the message body", "Title")