A UserForm for my MS Word document has a button click that loops through the Controls on the form.
Private Sub cmdBack_Click()
Dim ctrl As Control
For Each ctrl In frmTest.Controls
If ctrl.Name = "fra1" Then ctrl.Visible = False
Stepping through everything seems to work great BUT the control named fra1 never goes invisible.
In the Immediate window the control referenced with ctrl.visible returns False while the control referenced with fra1.visible returns True
If I change the code to fra1.visible = False the control does become invisible.
Why are these two code segments getting different results?