Solved

Moving from one tab to another

Posted on 1998-10-27
2
139 Views
Last Modified: 2010-04-30
I'm using the SSTab control and right now I have 5 tabs.  My problem is I don't know how I could go from one tab to another without "actually clicking" on the tabs.  I've tried before calling the tab_click sub, but the program just executes what's inside the procedure.  I didn't get to see it automatically moving from one tab to another.  
0
Comment
Question by:imby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 50 total points
ID: 1441778
Try This

Private Sub Command1_Click()

    SSTab1.Tab = 2

End Sub

0
 
LVL 18

Expert Comment

by:deighton
ID: 1441779
You change tabs by setting your tab property.  They're numbered 0,1,2,...n-1 for a tab box with n tabs.

e.g YourTab.Tab = 3 to select the fourth tag.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question