How to make appear another checkboxes when I tick on a checkbox ?

francois.lemarie

Board Regular
Joined
Mar 24, 2010
Messages
54
Hello

I have created a checkbox in A1 (caption : Yes). I have at work the Excel 2003.

I want that when the checkbox is ticked, 2 another checkbox appear : IT in B1 and Mobile services in C1. I want too that, when I untick it, that these checkbox disappear.

Then, if I tick IT in B1, I want 2 other checkbox to appear : IT Services in B2, IT Products in B3. If I don't tick on IT or I decide then to untick it, I want these checkboxs to disappear.

If I tick Mobile services in C1, I want 3 other checkbox to appear : Mobile service 1 in C2, Mobile service 2 in C3 and Other in C4. If I don't tick on Mobile Services or I decide then to untick it, I want these checkboxs to disappear.

If I tick Other in C4, I want to appear at the same time :
- Another checkbox "Please specify" in D4
- A textbox in E4, in order the user be able to introduce text.
It I untick then on C4, I want the checkboxes in D4 and E4 disappear.

I don't want to use ActiveX, I want to use form controls.

I know a code to delete all the checkboxes, but I don't want all checkboxes to be deleted, just the specific ones when it is not ticked, no more.

I have spent my last 3 days trying to find some tips on the internet, but cannot find. How could I do that starting by Sub and finishing by End sub ? Anyone could be able to give me the VBA code ?


Best regards and thanks for all.

François
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,215,025
Messages
6,122,732
Members
449,093
Latest member
Mnur

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