Hi Chris,
See the attached Example file (created and tested using Excel 2003) which attempts to implement your requirements. All ActiveX OptionButton clicks are processed by a Class Module. While advanced in theory, the implementation should be relatively easy. Two modules from the attached file should be imported into your application.
I suggest you try the Example file first. If the Example file doesn't work at first, select the 'Delete Controls' Shape, and then the 'Create Controls' shape. I have had problems in the past with using ActiveX controls in different Excel versions.
Installation Instructions (using the Example file as a baseline):
a. Import module 'ClassOptionButtonEvent' to your application
b. Import module 'ModOptionButtons' into your application
c. The only items in 'ModOptionButtons' that are required are:
(1) Declarations at the top of the module
(2) Sub EnableOptionButtonEvents()
(3) Sub ProcessActiveXOptionButtonClick()
Thanks to Andy Pope and Chip Pearson for the original code this was adapted from.
Lewis
Class Module 'ClassOptionButtonEvent' code:
Ordinary Code module 'ModOptionButtons':
Bookmarks