you can tell by the Page Index property of the each page. The index is zero based so tab page 1 is 0 in the index and tab page 2 is 1 in the index etc... this example displays a message box during the Change event of the tab control named TabCtl0
Private Sub TabCtl0_Change()
MsgBox "On Tab Index " & Me.TabCtl0
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.