I would like to use vba code to programmatically make the tab control refer to and change the current page number on a form. I used some vba code from a Microsoft Learn page example from the Section on " Refer to and change the current page "https://learn.microsoft.com/en-us/offic ... cts-in-vba to control a page label denoted as lblRecored_Position:
Code: Select all
Private Sub lblRecord_Position_Click()
TabControl1.Value
End Sub