ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to insert tab name of a wrksht into a cell in that worksheet? (https://www.excelbanter.com/excel-worksheet-functions/161962-how-insert-tab-name-wrksht-into-cell-worksheet.html)

Pat

How to insert tab name of a wrksht into a cell in that worksheet?
 


RagDyeR

How to insert tab name of a wrksht into a cell in that worksheet?
 
Check out this web page of J.E. McGimpsey:

http://www.mcgimpsey.com/excel/formu..._function.html

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Pat" wrote in message
...




Chip Pearson

How to insert tab name of a wrksht into a cell in that worksheet?
 
Pat,
Use a formula like


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

The A1 is required, but can actually be any cell you want.

This requires that the file has been saved to disk at least one (that is, it
won't work on new, unsaved workbooks).


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Pat" wrote in message
...




All times are GMT +1. The time now is 06:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com