Using Sheet Name In Cells

P

Paul Moles

In Excel Xp how do I get a cell to show the sheet
name,alternatively can I get the sheet name to show the
contents of a cell.
 
B

Bob Phillips

Paul,

--

HTH

Bob Phillips

Paul Moles said:
In Excel Xp how do I get a cell to show the sheet
name,


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

this only works on a saved workbook.
alternatively can I get the sheet name to show the
contents of a cell.

This needs VBA to rename it on demand, it won't reflect changes to the cell
unless you add worksheet change event code. Do you want that?
 

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