In addition, the modality of the MsgBox can be specified. These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions. For VBScript, you must explicitly declare these constants in your code. Display OK button only. Yes , No , and Cancel buttons.
First button is the default.
The user must respond to the message box before continuing work in the current application. All applications are suspended until the user responds to the message box. The following constants are used with the MsgBox function to identify which button a user has selected. These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions. For VBScript, you must explicitly declare these constants in your code.