ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I create a cell reference to return name of the tab? (https://www.excelbanter.com/excel-discussion-misc-queries/110223-how-do-i-create-cell-reference-return-name-tab.html)

pameluh

How do I create a cell reference to return name of the tab?
 
For example... the tab name is Apples. I want cell A1 to say Apples

Gary''s Student

How do I create a cell reference to return name of the tab?
 
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
--
Gary's Student


"pameluh" wrote:

For example... the tab name is Apples. I want cell A1 to say Apples


Biff

How do I create a cell reference to return name of the tab?
 
Just to add.....

The file must already exist. It must have been saved and given a name.

Biff

"Gary''s Student" wrote in message
...
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
--
Gary's Student


"pameluh" wrote:

For example... the tab name is Apples. I want cell A1 to say Apples




Tom Ogilvy

How do I create a cell reference to return name of the tab?
 
The file must already exist. It must have been saved and given a name.

Another way to say this is:

The file must have been previously saved for this to work.

--
Regards,
Tom Ogilvy


"Biff" wrote in message
...
Just to add.....

The file must already exist. It must have been saved and given a name.

Biff

"Gary''s Student" wrote in
message ...
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
--
Gary's Student


"pameluh" wrote:

For example... the tab name is Apples. I want cell A1 to say Apples






pameluh

How do I create a cell reference to return name of the tab?
 
Brilliant! Thanks guys! You just made me a hero! Much appreciated!


All times are GMT +1. The time now is 04:16 AM.

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