how can i get a cell to display the sheet name it's on?

  • Thread starter Rick Rothstein \(MVP - VB\)
  • Start date
R

Rick Rothstein \(MVP - VB\)

As long as the workbook has already been saved, you can use this formula...

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

Rick
 
T

T. Valko

Try this:

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

Note: do not change "filename". Enter the formula exactly as shown.

The file must have been saved at least once for this to work. In other
words, the file must already exist. A file doesn't exist until it is saved
and given a name.
 

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