Posted on 2006-03-27
Last Modified: 2010-04-07
Isn't there a way to delete tabs from SSTab after creating them?!
I've been trying to delete certain tabs from within the SSTab i have, but i couldn't!
Question by:feesu
    LVL 28

    Expert Comment

    Not sure if this will help,but you could remove tabs from the end:

    Private Sub Command1_Click()
    On Error Resume Next
    SSTab1.Tabs = SSTab1.Tabs - 1
    End Sub
    LVL 4

    Expert Comment

    it's controlled by the tabs property either in form design or code, and only removes from the end as vinnyd says
    LVL 28

    Accepted Solution

    Or you can hide the tab you do not want:

    Private Sub Command1_Click()
    ' hide tab 2
    SSTab1.TabVisible(1) = False
    End Sub

    Author Comment

    so that's the only way; runtime!
    Thanks everyone!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    Title # Comments Views Activity
    Automated script task to send email 22 82
    Using Round (coverting VB6 code to SQL) 5 41
    Problem to copy file 7 42
    Mysql vs Oracle 10 103
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now