Unhide a Label and TextBox

  • Thread starter Patrick C. Simonds
  • 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top