Use of Worksheet name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How is it possible to use a worksheet name within a cell? For example if the
worksheet is called 'Nov 2007' I would like to be able to use that within
cells to have text like 'London Nov 2007' or 'John - Nov 2007'.

What formula can be used if any?

Many Thanks.
 
="London "&MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32)


note that your workbook need to be saved, it won't work if you just open
a new workbook and use it


--


Regards,


Peo Sjoblom
 
Once the file has been saved at least once:

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

Peo Sjoblom said:
="London "&MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32)


note that your workbook need to be saved, it won't work if you just open
a new workbook and use it


--


Regards,


Peo Sjoblom


Patch said:
How is it possible to use a worksheet name within a cell? For example if
the
worksheet is called 'Nov 2007' I would like to be able to use that within
cells to have text like 'London Nov 2007' or 'John - Nov 2007'.

What formula can be used if any?

Many Thanks.
 

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