Visual Basic Macro to Determine Which Button Was Selected (143345)
The information in this article applies to:
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0c
- Microsoft Excel for the Macintosh 5.0a
This article was previously published under Q143345 SUMMARY
In Microsoft Excel, you can create a Microsoft Visual Basic for Application
macro to determine which button on a dialog box or a worksheet was clicked.
You can do this by using the Caller property in conjunction with a Select
Case statement.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbhowto kbProgramming KB143345 |
---|
|