Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VBE/Enabling Worksheet Tabs (2000)

    How do I enable worksheet tabs from VBE? I tried:

    <pre>Application.CommandBars("Worksheet Tabs").Enabled = True
    </pre>


    but it does not seem to work (unless the workbook/sheet has to be unprotected first?).

    Thanks,

  2. #2
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VBE/Enabling Worksheet Tabs (2000)

    Actually, the correct syntax is:

    "Workbook Tabs" instead of "Worksheet Tabs"

  3. #3
    WS Lounge VIP
    Join Date
    Mar 2002
    Location
    Newcazzle, UK
    Posts
    2,826
    Thanks
    136
    Thanked 482 Times in 459 Posts

    Re: VBE/Enabling Worksheet Tabs (2000)

    If you mean how do you display worksheet tabs try using

    ActiveWindow.DisplayWorkbookTabs = True

    zeddy

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VBE/Enabling Worksheet Tabs (2000)

    That enables the rightclick menu you get when you rightclick the sheet navigation arrows bottom left of the XL window.

    The rightclick menu of sheet tabs is called "Ply".

    Find these (and more) in my xlmenufundict.zip at:

    http://www.bmsltd.ie/mvp

    Edited Mar 13th 2004 to update link
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •