Automatic Cell name change - Tab name

amir9s

New Member
Joined
Jun 10, 2016
Messages
9
Hi guys,

I've seen people post how to change a Tab name based on a cell's value/name using a macro, but what I'm looking for is the exact opposite.

I need to have a cell's name/value change based on a tab's name.

Would appreciate the help. Thank you
 

Some videos you may like

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
17,389
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi guys,

I've seen people post how to change a Tab name based on a cell's value/name using a macro, but what I'm looking for is the exact opposite.

I need to have a cell's name/value change based on a tab's name.

Would appreciate the help. Thank you
You don't need a macro. Here's a formula you can put in that cell:

Code:
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-SEARCH("]",CELL("filename",A1)))
 

amir9s

New Member
Joined
Jun 10, 2016
Messages
9
You don't need a macro. Here's a formula you can put in that cell:

Code:
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-SEARCH("]",CELL("filename",A1)))


Thank you, that worked just fine :)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,961
Messages
5,599,061
Members
414,281
Latest member
Engjamal2021

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
Top