cell entry equal worksheet title

  • Thread starter Thread starter OCA
  • Start date Start date
O

OCA

Is it possible to make a cell entry automatically equate to the name of a
worksheet (as displayed in the tab at the bottom of the screen)?
 
The workbook has to be saved for this to work.

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

HTH,
Paul
 
Um, actually, no, I don't. My formula works absolutely fine. Perhaps you
should test something before declaring it is incorrect?
--
John C


Gord Dibben said:
John

You must include a cell reference.

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

See Bob Phillips' site for explanation.

http://www.xldynamic.com/source/xld.xlFAQ0002.html


Gord Dibben MS Excel MVP



=RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))
 
Enter your formula on Sheet1.........returns Sheet1

Enter your formula on Sheet2............returns Sheet2

Switch back to Sheet1.

See anything amiss?

I would not say "it works"


Gord
 

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