The message box function takes 3 main parameters:
Msgbox Prompt, Buttons+Icon, DialogTitle
Prompt is a string which contains the message. Buttons+Icon use the following constants for Buttons:
Constant |
vbOKOnly |
vbOkCancel |
vbYesNo |
vbYesNoCancel |
vbAbortRetryIgnore |
vbRetryCancel |
And the following constants for Icons
Constant | Icon |
vbQuestion | |
vbInformation | |
vbExclamation | |
vbCritical |
Comments