Uncheck checkbox2 when checkbox1 is checked

tweek

Board Regular
Joined
Jun 16, 2006
Messages
104
Hi, I've been trying to find a way to uncheck a checkbox when another one is checked. My VB coding isn´t very strong so I would really appreciate some help.

I´m thinking that a if statement would do the job, my checkboxes are checkbox1 and checkbox2 and are located in sheet1.

hope someone can help,
thank you very much for your time.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
If you want an either or option, then Optionbuttons do that automatically. (Checkboxes are more commonly used where more than option can be checked at a time.)
 
Upvote 0
Thank you, it does exactly what I wanted. But is there any way to make the button square not round ?
 
Upvote 0
No, not that I'm aware of. It's generally better to try and keep a look and feel that is common to all windows applications, IMO.
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,286
Members
449,076
Latest member
kenyanscott

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