Check Box conditions

uneiman

New Member
Joined
Jul 27, 2002
Messages
44
I am doing an office football pool in Excel.
I have added a check box next to one team and another check box next to the other team.
How do I prevent users from checking both boxes?
If one box is checked and a user attempts to check the other, I would like it to not allow that, or popup a message.

Thanks in advance
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,

concentrating on this sentence
How do I prevent users from checking both boxes?
my suggestion would be to use OptionButtons

you can group them 2 by 2
OptionButtons created with Forms toolbar
create a frame
putting "linked" option buttons in frame

OptionButtons created with Controls toolbar
hold shift and select several option buttons
set the Groupname property to the same name

kind regards,
Erik

EDIT: if you want to fill a large range with optionbuttons you can use some code
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,161
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top