Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get controll type, controll name from the second panel of SStab

sal21

Programmer
Apr 26, 2004
429
IT
My test code, but dont work!


Code:
Dim ctl As Control
    For Each ctl In Me.Controls
        If ctl.Container Is Me.SSTab Then
            If ctl.Container.Tab = 1 Then
                Debug.Print TypeName(ctl), ctl.Name
            End If
        End If
    Next ctl
 

Part and Inventory Search

Sponsor

Back
Top