Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have added a "checkbox" control to a worksheet and use the
control to set a condition use in a separate procedure. I need to disable the control depending on another whether or not a cell is empty .. How do I set the Enable property programmatically? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks John, I was able work that into my project easily!
BTW, what is the significance of (ByVal Target As Range)? thats new to me. John Bundy remove wrote: Example, if A1 is blank then checkbox is disabled otherwise it is enabled Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Cells(1, 1) = "" Then CheckBox1.Enabled = False Else CheckBox1.Enabled = True End Sub -- -John Northwest11 Please rate when your question is answered to help us and others know what is helpful. " wrote: I have added a "checkbox" control to a worksheet and use the control to set a condition use in a separate procedure. I need to disable the control depending on another whether or not a cell is empty .. How do I set the Enable property programmatically? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable and enable dropdown combobox(Form Control) | Excel Discussion (Misc queries) | |||
Can I put Multipage control on workseet | Excel Programming | |||
Enable/Disable Macros | Excel Discussion (Misc queries) | |||
SpinButton Enable/Disable | Excel Programming | |||
Enable/Disable Macro | Excel Programming |