Worksheet Name

G

Greta

How do you insert the worksheet name into the worksheet?
I have 80 worksheets and need the name of each to appear
on the sheet. Is there a simple formula for that?
Thanks,
Greta
 
F

Frank Kabel

hi Greta
try the following formula for the sheet name
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("file
name",A1),1))

Frank
 
J

JE McGimpsey

A couple fewer function calls, but along the same lines:

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

where 255 is just a big number.

Frank Kabel said:
hi Greta
try the following formula for the sheet name
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("file
name",A1),1))

Frank

How do you insert the worksheet name into the worksheet?
I have 80 worksheets and need the name of each to appear
on the sheet. Is there a simple formula for that?
Thanks,
Greta
 

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