Unhide a Label and TextBox

  • Thread starter Thread starter Patrick C. Simonds
  • Start date Start date
P

Patrick C. Simonds

On my UserForm I have set Visible value to False for Label7 and TextBox2.
It is my desire to have them become visible if OptionButton10 is checked, so
I tried the code below. When I click on OptionButton10 I get an "Invalid
use of property" error message.

Is there anyway to do what I am attempting

Private Sub OptionButton10_Click()
Label7.Visible
TextBox2.Visible
End Sub
 
Back
Top