Excel check boxes- check and uncheck with macro

pincivma

Board Regular
Joined
Dec 12, 2004
Messages
206
Hi There
The macro that I'm trying to create is more complex that what I explain below. What I expalin below is very simple. If I can do that, then I can do my complicated macro.


Suppose I have a checkbox1 in sheet 2 in cell A1. Beside this check box, I have the word Semi Detached in Cell B1. In sheet 1, in Cell A1 I have a dropdown list (Single, Detached, Semi Detached, towns). Now here is what I want to do. If I choose Semi Detached in sheet 1 from the dropdown list, I want the checkbox1 in cell A1 beside the word Semi Detached to be checked. Now in sheet 2, I have another box checkbox2 in cell A2 and beside that checkbox2 I have the word Detached in Cell B2. So, If I choose Detached in Sheet 1 from the dropdown list I want the macro to uncheck checkbox1 and check checkbox2. This procedure is repeated for the other names in the dropdown list. Do you get the picture??

Thanks,

Mario
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,224,597
Messages
6,179,812
Members
452,945
Latest member
Bib195

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