Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I have added checkboxes from Control Toolbox and they seem to work fine. I
just want to make one of them lets say checkbox3 to show more checkboxes when checkbox3 is marked. How do I do that? |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I'd add them all to exactly where I wanted them.
But then have the "master" checkbox just unhide/hide the others. Option Explicit Private Sub CheckBox3_Click() Dim ShouldBeVisible As Boolean ShouldBeVisible = CBool(Me.CheckBox3.Value = True) Me.CheckBox1.Visible = ShouldBeVisible Me.CheckBox2.Visible = ShouldBeVisible Me.CheckBox4.Visible = ShouldBeVisible Me.CheckBox5.Visible = ShouldBeVisible End Sub Sara wrote: I have added checkboxes from Control Toolbox and they seem to work fine. I just want to make one of them lets say checkbox3 to show more checkboxes when checkbox3 is marked. How do I do that? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Thanks Dave. That works perfectly.
I also want to tie the same checkbox (checkbox3) to hide the values in cell B41 and B45 if it is checked. Is their a way to just hide the cell text rather than hidding the entire row or a column? I am not sure how to write the code for a specific cell. |
#4
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
You can make the cell look empty in the worksheet (not in the formula bar).
You could use the same font color as fill color (white on white) or use a custom format of: ;;; (3 semicolons) me.range("b41,b45").numberformat = ";;;" and to see it: me.range("b41,b45").numberformat = "General" Sara wrote: Thanks Dave. That works perfectly. I also want to tie the same checkbox (checkbox3) to hide the values in cell B41 and B45 if it is checked. Is their a way to just hide the cell text rather than hidding the entire row or a column? I am not sure how to write the code for a specific cell. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using checkboxes, can I write formulas based on what is checked? | Excel Worksheet Functions | |||
How to have Checkbox A uncheck with checked Checkbox B | Excel Discussion (Misc queries) | |||
Print a selection based on checked checkboxes | Excel Worksheet Functions | |||
Sum Only Checked Checkboxes | Excel Discussion (Misc queries) | |||
My checkboxes will not stay checked. | Excel Discussion (Misc queries) |