+ Reply to Thread
Results 1 to 3 of 3

Shet Number Position

  1. #1
    Sheets number position
    Guest

    Shet Number Position

    How do you return the number of a sheet in the sheets collection. I can
    return the total number of sheets as in:

    Sheets.Count

    But I want the Sheet number.

    Please help. Thanks

  2. #2
    Norman Jones
    Guest

    Re: Shet Number Position

    Hi,

    You have multiple responses at your previous post.

    ---
    Regards,
    Norman



    "Sheets number position" <[email protected]>
    wrote in message news:[email protected]...
    > How do you return the number of a sheet in the sheets collection. I can
    > return the total number of sheets as in:
    >
    > Sheets.Count
    >
    > But I want the Sheet number.
    >
    > Please help. Thanks




  3. #3
    Chip Pearson
    Guest

    Re: Shet Number Position

    Use the Index property of a worksheet to get its position. E.g.,

    Debug.Print Worksheets("Sheet3").Index


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com



    "Sheets number position"
    <[email protected]> wrote in message
    news:[email protected]...
    > How do you return the number of a sheet in the sheets
    > collection. I can
    > return the total number of sheets as in:
    >
    > Sheets.Count
    >
    > But I want the Sheet number.
    >
    > Please help. Thanks




+ 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