Results 1 to 4 of 4
  1. #1
    5 Star Lounger Ruff_Hi's Avatar
    Join Date
    Feb 2001
    Location
    New York, New York, USA
    Posts
    768
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tab Name (Excel 2002 SP2)

    I just know that this has been asked and asked and answered and answered, but with no search ... <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>

    What is the function to get the tab name into a cell?
    (Location Australia, then UK, but now USA. Heart, outlook, attitude, etc always Australian)
    Quote: "All Happiness is the release of internal pressure"

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Tab Name (Excel 2002 SP2)

    <pre>=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,35)</pre>


    Steve

  3. #3
    5 Star Lounger
    Join Date
    Apr 2001
    Location
    Arriving Somewhere but not Here
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tab Name (Excel 2002 SP2)

    Greater minds than mine will have a definitive way to do this, meanwhile this trivial user function works but it may not automatically recalc if you change the tab name after you've entered it in a cell.

    Public Function TabName()
    TabName = ActiveSheet.Name
    End Function

    (for once not) stuck

  4. #4
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Missouri, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Tab Name (Excel 2002 SP2)

    Or you can download the free add-in, morefunc at

    http://longre.free.fr/english/index.html

    Then use =SHEETNAME()

Posting Permissions

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