Worksheet Name in Spreadsheet

J

jtj703

I realize that I can put the worksheet name in a header or footer.
However, what I would like to do is have a function that grabs the tab
name and places it in a cell in my spreadsheet. That I way I can refer
to that value in a lookup table.


Please let me know if this is possible. Thank you very much.
 
M

Max

Taken from MVP Debra D's:
http://www.contextures.com/xlfaqFun.html#SheetName

Put in say A1
: =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)

Above will give the sheet name.

Note: The file must be saved or the formula will not work.

--
hth
Max
-----------------------------------------
Please reply in thread

Use xdemechanik <at>yahoo<dot>com for email
----------------------------------------------------------------------------
jtj703 said:
I realize that I can put the worksheet name in a header or footer.
However, what I would like to do is have a function that grabs the tab
name and places it in a cell in my spreadsheet. That I way I can refer
to that value in a lookup table.


Please let me know if this is possible. Thank you very much.
creating financial statements
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top