+ Reply to Thread
Results 1 to 3 of 3

Show a tab with a graph

Hybrid View

  1. #1
    Registered User
    Join Date
    10-22-2007
    Posts
    16

    Unhappy Show a tab with a graph

    hi,

    I know that to show a tab in VBA you can write
    worksheet("NameOfTheTab").select
    However, it does not work when the tab is just graph

    Hope that makes sense

    Any idea???

    Many thanks

    Pierre

  2. #2
    Valued Forum Contributor
    Join Date
    10-15-2007
    Location
    Home
    MS-Off Ver
    Office 2010, W10
    Posts
    373

    Re: Show a tab with a graph

    Quote Originally Posted by pilou View Post
    hi,

    I know that to show a tab in VBA you can write
    worksheet("NameOfTheTab").select
    However, it does not work when the tab is just graph

    Hope that makes sense

    Any idea???

    Many thanks

    Pierre
    Hi Pierre

    That's because it's not a worksheet. It's a Chart sheet.

    You can use

    Charts("NameOfTheTab").Select
    or use the Sheets collection, that has all types of sheets:

    Sheets("NameOfTheTab").Select
    HTH

  3. #3
    Registered User
    Join Date
    10-22-2007
    Posts
    16

    Re: Show a tab with a graph

    thanks a lot
    it works great

    thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1