Tab Name (Only) in a Cell

J

Jerry

How do you get the Tab name to be displayed in a cell on
the worksheet?

=cell("filename") works but it shows the entire filename
including (network)path...too much info.
 
J

J.E. McGimpsey

one way:

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

Note you need to include the A1 reference or the result will reply
to the last sheet calculated, not (necessarily) the sheet the
formula is on.
 

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