SleestakKing
New Member
- Joined
- Apr 20, 2006
- Messages
- 3
Hi all,
I have a question. I'm trying to put some Option Buttons on my sheets and am having some problems I'm hoping you can help with.
Basically, I want to put a series of Option Buttons in several consecutive columns, that when a user chooses between Y or N buttons, macro code is called to handle different events for a column. And I'd like to use one set of code such that when a user clicks the button, the macro code will be able to figure out what cell the button resides in and act on the column that the button resides in.
My problem is that using the Option Buttons as a form control vs. an ActiveX control presents different problems.
If the Option Buttons are form control Option Buttons, I can't figure out a way to have the switching options be only effective for a particular group. (As an example, in Cell D2 are Buttons Y and N. In Cell E2 are other Buttons Y and N. Yet, Excel will only allow one of those four buttons to be chosen. What I want is for the buttons in D2 to operate independently from E2.) Is there a way to group these buttons when they are form controls?
If the Option Buttons are ActiveX controls, I can't figure out how to determine in which cell the ActiveX control resides. Is there a function call that will tell me what cell the Option Button is in?
Any help would be greatly appreciated. Thanks.
Robert
I have a question. I'm trying to put some Option Buttons on my sheets and am having some problems I'm hoping you can help with.
Basically, I want to put a series of Option Buttons in several consecutive columns, that when a user chooses between Y or N buttons, macro code is called to handle different events for a column. And I'd like to use one set of code such that when a user clicks the button, the macro code will be able to figure out what cell the button resides in and act on the column that the button resides in.
My problem is that using the Option Buttons as a form control vs. an ActiveX control presents different problems.
If the Option Buttons are form control Option Buttons, I can't figure out a way to have the switching options be only effective for a particular group. (As an example, in Cell D2 are Buttons Y and N. In Cell E2 are other Buttons Y and N. Yet, Excel will only allow one of those four buttons to be chosen. What I want is for the buttons in D2 to operate independently from E2.) Is there a way to group these buttons when they are form controls?
If the Option Buttons are ActiveX controls, I can't figure out how to determine in which cell the ActiveX control resides. Is there a function call that will tell me what cell the Option Button is in?
Any help would be greatly appreciated. Thanks.
Robert