XL98: How to Create Yes and No Buttons for a Custom Message Box (193559)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q193559 SUMMARY
By default, the MsgBox function in a Microsoft Visual Basic for
Applications procedure contains a single OK button. However, you can display other buttons in the message box. This article provides a sample Visual Basic macro that displays a message box with Yes and No buttons; the article also explains how to retrieve the information about which button a user clicks to dismiss the message box.
REFERENCES
For more information about the MsgBox function, from the Visual Basic Editor, click the
Office Assistant, type msgbox, click Search, and
then click to view "MsgBox Function."
Modification Type: | Minor | Last Reviewed: | 9/12/2006 |
---|
Keywords: | kbdtacode kbhowto KB193559 |
---|
|