Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Disabling a 'Group' of OptionButtons

To All,

I Have 2 checkboxes ... and 4 Optionbuttons.
2 of the option buttons are in 1 group and the other 2 in another
group.

If CheckBox 1 is checked, then OptionButton - Group1 is eligible to
have 1 of its 2 optionbuttons selected ...
or
If CheckBox 2 is checked, then OptionButton - Group2 is eligible to
have 1 of its 2 optionbuttons selected ...

What I'm trying to do is:
If CheckBox 1 is checked, I want to disable Optionbutton - GROUP2?
or
If CheckBox 2 is checked, I want to disable Optionbutton - GROUP1?

Any help would be greatly appreciated.

Jim Pellechi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Disabling a 'Group' of OptionButtons

If you are using Frames to group the OptionButtons, if you disable a Frame,
the OptionButtons it contains will be effectively disabled (although they
will not *look* disabled). Or perhaps I have misunderstood your question.

--

Vasant


"JimP" wrote in message
m...
To All,

I Have 2 checkboxes ... and 4 Optionbuttons.
2 of the option buttons are in 1 group and the other 2 in another
group.

If CheckBox 1 is checked, then OptionButton - Group1 is eligible to
have 1 of its 2 optionbuttons selected ...
or
If CheckBox 2 is checked, then OptionButton - Group2 is eligible to
have 1 of its 2 optionbuttons selected ...

What I'm trying to do is:
If CheckBox 1 is checked, I want to disable Optionbutton - GROUP2?
or
If CheckBox 2 is checked, I want to disable Optionbutton - GROUP1?

Any help would be greatly appreciated.

Jim Pellechi



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Disabling a 'Group' of OptionButtons

Vasant,

Thanks for replying ...

I Have 2 checkboxes: CHECKBOX1 and CHECKBOX2 ... Representing a
performance for that day: 'MATINEE' vs.'EVENING' performance

I Have 2 optionbuttons - Representing "2PM" and "3PM" Performance
start times.
I Have 2 optionbuttons - Representing "7PM" and "8PM" Performance
start times.
each in their own group

If CheckBox1 is checked, then OptionButton - Group1 is 'eligible' to
have 1 of its 2 optionbuttons Checked/Selected ...

If CheckBox2 is checked, then OptionButton - Group2 is eligible to
have 1 of its 2 optionbuttons Checked/Selected ...

After the USER selects CHECKBOX1: I need to disable Optionbutton -
GROUP2
so the USER can't select an EVENING performance start time - since the
USER clearly indicated by CHECKBOX1 that they want to attend a MATINEE
performance which is ONLY held at 2pm or 3pm.

LIKEWISE,

If the USER selects CHECKBOX2: I need to disable Optionbutton -
GROUP1
so the USER can't select an MATINEE performance start time - since the
USER clearly indicated by CHECKBOX2 that they want to attend an
EVENING performance which is ONLY held at 7pm or 8pm.

Any help would be greatly appreciated.

Jim Pellechi


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message ...
If you are using Frames to group the OptionButtons, if you disable a Frame,
the OptionButtons it contains will be effectively disabled (although they
will not *look* disabled). Or perhaps I have misunderstood your question.

--

Vasant


"JimP" wrote in message
m...
To All,

I Have 2 checkboxes ... and 4 Optionbuttons.
2 of the option buttons are in 1 group and the other 2 in another
group.

If CheckBox 1 is checked, then OptionButton - Group1 is eligible to
have 1 of its 2 optionbuttons selected ...
or
If CheckBox 2 is checked, then OptionButton - Group2 is eligible to
have 1 of its 2 optionbuttons selected ...

What I'm trying to do is:
If CheckBox 1 is checked, I want to disable Optionbutton - GROUP2?
or
If CheckBox 2 is checked, I want to disable Optionbutton - GROUP1?

Any help would be greatly appreciated.

Jim Pellechi

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UserForm OptionButtons Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 3 October 4th 07 07:52 PM
Moving OptionButtons MarkyB Excel Discussion (Misc queries) 2 March 7th 06 02:50 PM
OptionButtons Paul Excel Programming 4 December 4th 03 04:12 PM
Add OptionButtons in Excel Andrew Lenczycki Excel Programming 0 July 30th 03 02:34 PM
optionbuttons Phil Perry Excel Programming 1 July 10th 03 09:13 PM


All times are GMT +1. The time now is 09:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"