sbornstein2
asked on
Setting Focus to a tab on Form Activate
How can I set the focus to a tab on a form on the activate command? Thanks all
SSTab1.SetFocus
If you refer to the SSTAB (Tabed Dialog) then:
Private Sub Form_Activate()
SSTab1.Tab = 1 'or any other number, The number is the tab number you want to set focus on.
End Sub
S
Private Sub Form_Activate()
SSTab1.Tab = 1 'or any other number, The number is the tab number you want to set focus on.
End Sub
S
ASKER
I am using VBA actually and I dont have the tab property. I have a tab called MultiPage1 and the tab name is Page1. My options under MultiPage1. are
pages
tabindex
etc.
I tried MultiPage1.TabIndex = 1 but no dice it still goes to another tab.
pages
tabindex
etc.
I tried MultiPage1.TabIndex = 1 but no dice it still goes to another tab.
I'm guessing here, but try:
Page1.Pages(1)
Where 1 is the tab number.
Let us know.
S
Page1.Pages(1)
Where 1 is the tab number.
Let us know.
S
Or maybe Page1.Pages = 1
But I'm unfamiliar with that vba tab.
S
But I'm unfamiliar with that vba tab.
S
ASKER
No dice.
In that case I suggest you ask for refund @ customer support, and replace the question, and this times specifying its VBA and Multipage control. :)
Good luck,
S
Good luck,
S
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The answer is just .Value in VBA. MultiPage.Value = 1