What? If a sheet is called "my tab 1", I wand the cell (eg) A1 to have "my tab 1" in it.
How? Simply enter: =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,30)
Changing the tab's name to "my tab 2" changes the value of A1 to "my tab 2" automatically. Et voila!
Caution: a lot of threads on the web omit the A1 in the Cell formula, which makes the formula return the last tab it has been applied to (not what is wanted if there are many tabs with this formula). Hope this will be useful to some of you!
How? Simply enter: =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,30)
Changing the tab's name to "my tab 2" changes the value of A1 to "my tab 2" automatically. Et voila!
Caution: a lot of threads on the web omit the A1 in the Cell formula, which makes the formula return the last tab it has been applied to (not what is wanted if there are many tabs with this formula). Hope this will be useful to some of you!