Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I got the code to work. I only added a workseet reference.
Sub test_form() If Worksheets("main").Range("AJ19").Value 1 Then UserForm1.ComboBox1.Visible = True Else UserForm1.ComboBox1.Visible = False End If UserForm1.Show End Sub "TDC" wrote: I am trying to make a combo box appear if a value is greater than 1 or hide if it is not. Below is what I have, but it does not work. Suggestions? Private Sub test_change() If Range("AJ19").Value 1 Then UserForm1.ComboBox1.Visible = True Else UserForm1.ComboBox1.Visible = False End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hide combo box | Excel Discussion (Misc queries) | |||
Hide Combo Box | Excel Programming | |||
Hide Combo Boxes | Excel Worksheet Functions | |||
Hide my combo boxes! | Excel Discussion (Misc queries) | |||
Combo Box - Hide Combo Box w/Check Box | Excel Programming |