ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I output the worksheet name in cell? (https://www.excelbanter.com/excel-discussion-misc-queries/34501-how-do-i-output-worksheet-name-cell.html)

Sloth

How do I output the worksheet name in cell?
 
I want to make a cell that outputs the name of the worksheet.

KL

Hi Sloth,

Try this:

=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1) )-FIND("]",CELL("filename",A1)))

Note: this formula will work if your workbook has been saved at least once.

Regards,
KL


"Sloth" wrote in message
...
I want to make a cell that outputs the name of the worksheet.




JE McGimpsey

One way:

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


In article ,
"Sloth" wrote:

I want to make a cell that outputs the name of the worksheet.


Sloth

Thanks guys, that's what I needed.


All times are GMT +1. The time now is 09:38 PM.

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