![]() |
Name off a sheet into a cell
I have a woorkbook and I like to put the names of one of the sheets into a
cell on one of the other sheets. EX Iin sheet 1 cell A1 I like to have the name of the 3th sheet in the workbook -- Palle korsholm |
Name off a sheet into a cell
=MID(CELL("filename",Sheet3!A1),FIND("]",CELL("filename",Sheet3!A1))+1,99)
I know this requires the name of the sheet, but if you change it, the formula picks up the change. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Palle korsholm" wrote in message ... I have a woorkbook and I like to put the names of one of the sheets into a cell on one of the other sheets. EX Iin sheet 1 cell A1 I like to have the name of the 3th sheet in the workbook -- Palle korsholm |
Name off a sheet into a cell
Here is a one-line UDF:
Function shname(i As Integer) As String shname = Sheets(i).Name End Function For example, =shname(2) will return the name of the 2nd sheet -- Gary''s Student - gsnu200768 "Palle korsholm" wrote: I have a woorkbook and I like to put the names of one of the sheets into a cell on one of the other sheets. EX Iin sheet 1 cell A1 I like to have the name of the 3th sheet in the workbook -- Palle korsholm |
All times are GMT +1. The time now is 03:25 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com