+ Reply to Thread
Results 1 to 9 of 9

Can Sheet Tab = Cell

  1. #1
    Registered User
    Join Date
    01-11-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    53

    Can Sheet Tab = Cell

    Is there a way for the sheet tab to equal a cell. If I put a name in a cell, say "B3", can I get it to load as the sheet tab name or the opposite way.
    Last edited by RMontani; 02-13-2009 at 11:45 PM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Can Sheet Tab = Cell

    The only way I know of doing that is via a macro

    If you are going to type the name into a cell why don't you just rename the sheet?
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    01-11-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Can Sheet Tab = Cell

    So I can't find a code or something that would automaticaly do this.

  4. #4
    Registered User
    Join Date
    02-06-2009
    Location
    Adelaide, South Australia
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Can Sheet Tab = Cell

    You could possibly do it the other way around - get the cell to display the tab name. I'm pretty sure I've seen it done before.

  5. #5
    Registered User
    Join Date
    01-11-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Can Sheet Tab = Cell

    Any Ideas on how to do that?

  6. #6
    Registered User
    Join Date
    01-11-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Can Sheet Tab = Cell

    Or can cell = sheet tab name?

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Can Sheet Tab = Cell

    =MID(CELL("filename",A1), FIND("]", CELL("filename",A1) ) + 1, 255)

    ... will return the tab name of the sheet on which it resides if the workbook has been saved.
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Can Sheet Tab = Cell

    Put the following formula into the desired output cell - just note that the workbook needs to have been previously saved for it to work:

    =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

  9. #9
    Registered User
    Join Date
    01-11-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Can Sheet Tab = Cell

    Thanks shg (AGAIN) and Trebor76

+ 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