问题
I have this code for an active x check box
Private Sub CheckBox2_Click()
Range("RowBlock2").EntireRow.Hidden = CheckBox2.Value
End Sub
the check boxes have a click sign in them. I don't know why
When I click on them they show the hidden rows.
is there any way to fix the code so the check boxes are not ticked in by default
thank you
I'm sure its something simple but Ive been searching for hours trying to fix this any help appreciated
回答1:
You can set the Value in the properties window, Right click the checkbox select properties, from the window set the value to true for checked, false for unchecked.
来源:https://stackoverflow.com/questions/18927090/excel-active-x-checkbox-uncheck-by-default