View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Patrick C. Simonds Patrick C. Simonds is offline
external usenet poster
 
Posts: 343
Default Unhide a Label and TextBox


Sorry I realized that at the end of each line I forgot the "= True"

"Patrick C. Simonds" wrote in message
...
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