![]() |
How to display the filename in spreadsheet
Using the information for displaying a TAB-name,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255) is there any way to display the FILENAME ONLY? Thanks |
How to display the filename in spreadsheet
See
http://www.mcgimpsey.com/excel/formu..._function.html In article , RS wrote: Using the information for displaying a TAB-name, =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255) is there any way to display the FILENAME ONLY? |
How to display the filename in spreadsheet
Thank you for the link.
"JE McGimpsey" wrote: See http://www.mcgimpsey.com/excel/formu..._function.html In article , RS wrote: Using the information for displaying a TAB-name, =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255) is there any way to display the FILENAME ONLY? |
How to display the filename in spreadsheet
From Bob Phillips
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 Gord Dibben MS Excel MVP On Wed, 22 Nov 2006 08:42:02 -0800, RS wrote: Using the information for displaying a TAB-name, =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255) is there any way to display the FILENAME ONLY? Thanks |
All times are GMT +1. The time now is 11:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com