![]() |
tab names
Does anyone know if there is a function to display the worksheet name within
the worksheet? |
tab names
File path, file and worksheet name:
=CELL("filename",A1) File path only: =LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1),1)-1) File name only: =MID(CELL("filename",A1),FIND("[",CELL("filename",A1),1)+1,FIND("]",CELL("filename",A1),1)-FIND("[",CELL("filename",A1),1)-1) The sheet name: =MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255) Restrictions This technique only works for workbooks that have been saved, at least once. ============== copied from http://www.xldynamic.com/source/xld.xlFAQ0002.html best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Allan" wrote in message ... Does anyone know if there is a function to display the worksheet name within the worksheet? |
All times are GMT +1. The time now is 05:40 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com