Sheet name in a cell

  • Thread starter Thread starter KevinR
  • Start date Start date
K

KevinR

Is there a way to bring the name of the worksheet into a cell on the worksheet?
 
Use a formula like

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

In this formula, use the word "filename" as shown. Don't substitute
the actual file name. The reference A1 can be any cell -- it doesn't
matter. The name of the sheet on which that cell resides will be
returned.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
 

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

Back
Top