Hi
Could anybody please help me out with the code to move from one page to another page within a multi-page object via a command button rather than clicking on a tab.
This is being done through VB-Script.
Thanks
Gregg
Printable View
Hi
Could anybody please help me out with the code to move from one page to another page within a multi-page object via a command button rather than clicking on a tab.
This is being done through VB-Script.
Thanks
Gregg
SSTab:
TabStrip:Code:SSTabControlName.Tab = TabIndex
:) OK?Code:Set TabStripName.SelectedItem = TabStripName.Tabs(TabIndex)
Thanks for your response Escaflowne, however I seem to get the following error message...
Object doesn`t support this property or method.
My code is...
Set Tabstrip1.SelectedItem = TabStrip1.Tabs(1)
I`m obviously doing something. Any ideas??
Cheers
Gregg
Oh, then try this:
:):):):):):)Code:TabStrip1.Tabs(1).Selected = True
Still no go
Seem to be getting the same message.
This is my entire function..
Private Sub CommandButton18_Click()
TabStrip1.Tabs(1).Selected = True
End Sub
Thanks
Gregg
Then that surely is a old version of tabstrip?!?!
That works fine with my tabstrip