Using Name of worksheet in cell

E

Ernie Fenwick

Is it possible to pickup the name of a worksheet and use it in a cell. IE
worksheets named 2004, 2005 2006 2007 etc with the name appearing in say
cell reference E1 on each of the worksheets

Regards

Ernie Fenwick
 
R

Roger Govier

Hi Ernie

provided the Workbook has been saved i.e. it is not a new book called Book1
Enter in E1
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,99)
 
E

Ernie Fenwick

Thanks Roger

Thats great

Ernie

Roger Govier said:
Hi Ernie

provided the Workbook has been saved i.e. it is not a new book called
Book1
Enter in E1
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,99)




--
Regards
Roger Govier

Ernie Fenwick said:
Is it possible to pickup the name of a worksheet and use it in a cell. IE
worksheets named 2004, 2005 2006 2007 etc with the name appearing in say
cell reference E1 on each of the worksheets

Regards

Ernie Fenwick
 

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