Worksheet Name Reference

jtk911

New Member
Joined
Sep 6, 2007
Messages
23
How do I reference the name of the worksheet in a cell within the worksheet itself?

Example: "Worksheet (2)" is the name fo the worksheet.
How do I get Worksheet (2)" to appear in a cell which references the tab name?
So when they change the tab name it changes the cell result.

Thanks.
 
Try:-
Code:
=RIGHT(CELL("Filename"),LEN(CELL("Filename"))-(FIND("]",CELL("Filename"))))
Mick
 
Upvote 0
Thanks, it works; however, it changes in all cell whenever a worksheet name is changed. Only when you highlight the worksheet name will it correct itself. Anything I can do about this?
 
Upvote 0
Try:
Code:
=RIGHT(CELL("Filename",$A$1),LEN(CELL("Filename",$A$1))-(FIND("]",CELL("Filename",$A$1))))
 
Upvote 0
Thanks Glen, thing become clearer when you read the instructions on the packet,:- ("Cell")
Regards Mick
 
Upvote 0

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