sheet tab

  • Thread starter Thread starter Guest
  • Start date Start date
You can modify =cell("filename")
if you just want the sheet use a right/find
 
Libby said:
How do I return the sheet tab name into a cell

Note: Workbook must be saved first

Try this technique taken from a post by Harlan ..

Click Insert > Name > Define
Put under "Names in workbook:": WSN
Put in the "Refers to:" box:
=MID(CELL("Filename",INDIRECT("A1")),FIND("]",CELL("Filename",INDIRECT("A1")))+1,32)
Click OK

The above defines WSN as a name we can use to refer to the sheetname in any
sheet. It will auto-extract the sheetname implicitly. Just enter: =WSN in any
sheet, any cell, and it'll return the sheetname in that cell.

---
 
exactly what I needed
thanx
--
Libby


Max said:
Libby said:
How do I return the sheet tab name into a cell

Note: Workbook must be saved first

Try this technique taken from a post by Harlan ..

Click Insert > Name > Define
Put under "Names in workbook:": WSN
Put in the "Refers to:" box:
=MID(CELL("Filename",INDIRECT("A1")),FIND("]",CELL("Filename",INDIRECT("A1")))+1,32)
Click OK

The above defines WSN as a name we can use to refer to the sheetname in any
sheet. It will auto-extract the sheetname implicitly. Just enter: =WSN in any
sheet, any cell, and it'll return the sheetname in that cell.

---
 

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