+ Reply to Thread
Results 1 to 10 of 10

how to make a particular cell assume the name of the worksheet

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: how to make a particular cell assume the name of the worksheet

    =cell("filename) in the sheet will give you the full address of the sheet, incl the sheet tab.

    then you just need to extract the sheet tab as required

    try this
    =MID(CELL("filename",$A$1),FIND("]",CELL("filename",$A$1))+1,LEN(CELL("filename",$A$1))-FIND("]",CELL("filename",$A$1)))

  2. #2
    Registered User
    Join Date
    11-04-2014
    Location
    nigeria
    MS-Off Ver
    2013
    Posts
    5

    Re: how to make a particular cell assume the name of the worksheet

    Quote Originally Posted by AlanY View Post
    =cell("filename) in the sheet will give you the full address of the sheet, incl the sheet tab.

    then you just need to extract the sheet tab as required

    try this
    =MID(CELL("filename",$A$1),FIND("]",CELL("filename",$A$1))+1,LEN(CELL("filename",$A$1))-FIND("]",CELL("filename",$A$1)))
    =MID(CELL("filename",$A$1),FIND("]",CELL
    ("filename",$A$1))+1,LEN(CELL("filename",$A
    $1))-FIND("]",CELL("filename",$A$1)))

    This formular worked.

    Btw, how did you come up with that lengthy formula

  3. #3
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: how to make a particular cell assume the name of the worksheet

    Quote Originally Posted by kelsnjoku View Post
    =MID(CELL("filename",$A$1),FIND("]",CELL
    ("filename",$A$1))+1,LEN(CELL("filename",$A
    $1))-FIND("]",CELL("filename",$A$1)))

    This formular worked.

    Btw, how did you come up with that lengthy formula
    the one that I'd prepared earlier

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 08-28-2014, 09:09 AM
  2. [SOLVED] How do I make values in a cell in one worksheet move to another worksheet
    By icevinson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2013, 06:46 PM
  3. How do I make a cell assume a certain variable as a different value?
    By puretppc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-12-2013, 10:44 PM
  4. [SOLVED] Can I assume everyone has Scripting Run Time (scrrun.dll) on C:\WI
    By Tetsuya Oguma in forum Excel General
    Replies: 1
    Last Post: 03-10-2006, 04:40 AM
  5. Can I assume the program has crashed?
    By Catt in forum Excel General
    Replies: 2
    Last Post: 07-02-2005, 01:05 PM

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