Tab Name

Yippy_Kiyey

Board Regular
Joined
Sep 28, 2008
Messages
96
I have a workbook with several tabs and each tab represents a project number. I want the tab name to appear on Cell A1, so that when I change the Tab Name, Cell A1 will also change.

Really need the help. Thanks a lot.

Rey
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi

In cell B1 enter this formula:
=CELL("filename",C1)

And in cell A1 enter this formula:
=RIGHT(B1,LEN(B1)-FIND("]",B1))

Andrew
 
Upvote 0
In cell B1 enter this formula:
=CELL("filename",C1)

And in cell A1 enter this formula:
=RIGHT(B1,LEN(B1)-FIND("]",B1))

Thanks for the replay, but I don't quite get it. If I type these formulas, I get "value" on A1. The formula on B1, do I have to put it as is or replace "filename" with something else. And what is in C1
.

Thank you
 
Upvote 0
Here is another way:

=MID(CELL("filename",INDIRECT("a2")),FIND("]",CELL("filename",INDIRECT("a2")))+1,255)

Place in cell A1

-Jeff
 
Upvote 0
I am curious,

Is this a new workbook?

If so try on a saved file, or save this new WB and reopen.

Hope that does the trick as the formula works for me with 2007

Note:
the reference to cell A2 is arbitrary, the contents of that cell should not matter.
 
Upvote 0
Has the spreadsheet been saved? From memory I think the CELL function doesn't work in an unsaved spreadsheet.

Andrew
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,807
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top