Displays a message in a dialog box, waits for the user to click a button, and returns a value indicating which button the user clicked.
object.MessageBox( Prompt [,Buttons] [,Title] ) |
- Prompt
- Required. A String that is displayed as the message in the message box.
- Buttons
- Optional. A Long that is the sum of values specifying the number and type of buttons to display and the icon style to use.
- Title
- Optional. A String that specifies the title of the message box.
Long
See values supported for Buttons in MessageBox contants.