Have placed a sstab on a form with three tabs. Would like to have the first tab be the visible one when loaded. Have messed around with some of the methods but can not seem to make any work.
I assume that your three tabs are 0 through 2, and Tab 0 is the only one that you want to be visible when the form loads. If this is not the case, let me know. If it is, then this should work for you.
Code:
Private Sub Form_Load()
SSTab1.TabVisible(1) = False
SSTab1.TabVisible(2) = False
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.