Message Box Generator
This Site generates Code for the
MsgBox function used in VBScript and VBA.
You can hover over most Items to get some Help.
Your Choices are not validated.
To decode a message box option number, click here
Options marked with an Asterisk are not mentioned in the
They are listed because the underlying API call to
Save this to a file with extension
The return value is an integer representing the pressed button:
- 1: OK
- 2: Cancel
- 3: Abort
- 4: Retry
- 5: Ignore
- 6: Yes
- 7: No
- 10: Try Again
- 11: Continue
(VBA) MsgBox Function(API) MessageBox Function
Copyright © 2018 by Kevin Gut 📧 | More services | Generated for 188.8.131.52