Displaying worksheet name in cell

Zakky

Board Regular
Joined
Mar 26, 2016
Messages
143
Office Version
  1. 365
Platform
  1. Windows
Hi, Mr Excel.com Team. Is there a way to show/insert the name of a worksheet in a cell. Also, when the worksheet name changes it automatically updates the cell.
So, if the worksheet is: Budget Year2022. I would like this to be in a cell, say, A1. And more than one cell if needed. Thank you
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Put this in cell A1 to get it to display the sheet name.

=MID(@CELL("filename",A1),FIND("]",@CELL("filename",A1))+1,255)
 
Upvote 0
Thank you both. I managed to get them working. Both dream solutions. All the best.
 
Upvote 0
Just to say that the formulas will only work on a saved workbook
 
Upvote 0
Just to say that the formulas will only work on a saved workbook
Mark858, interesting! That explains why i couldn't get them to work the first time round, but when i used them in a saved workbook they worked. Appreciate your worthy comment.
 
Upvote 0

Forum statistics

Threads
1,215,088
Messages
6,123,057
Members
449,091
Latest member
ikke

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