Function to Display Sheet Name in A cell

M

Michael Santoro

Does anyone know of a custom function or forumla that
will display the current sheet's name in a cell on that
sheet without the full filename and path?
 
P

Paul B

Michael, try this, the workbook must be saved for this to work

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

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 97 & 2000
** remove news from my email address to reply by email **
 
F

Freemini

try

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

the cell reference should be the one containing the formula

hth

Mik
 

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