Renaming NAMED RANGES from a list with VBA, and in Bulk

novabond

New Member
Joined
Mar 26, 2022
Messages
32
Office Version
  1. 365
Platform
  1. Windows
hello
my workbook has lots of named ranges over lots of worksheets, included in lots of formulas

SET UP - I have created a worksheet within the workbook called ChangeNameRages, whereby:
in column A starting on line 2, I have listed all the CURRENT names, of all the named ranges in the workbook
in column B, I have listed the CHANGE_TO name, that I would like the named range in the adjacent 'current name' column A, to be changed to.

WOULD LOVE VBA CODE -
1) rename all Named Ranges, throughout the workbook, as per my list in worksheet ChangeNameRanges
2) update all formulas, within the workbook, as per my list in worksheet ChangeNameRanges

Yesterday I posted for the same principle but, to change the names of TABLES, this was solved overnight, and the code worked so brilliantly, that I immediately realised, I have even more Named Ranges to change, and why didn't I think of that at the same time... so here I am again...

TIA, looking forward to responses!....
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Try this previous thread...

 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,354
Members
449,155
Latest member
ravioli44

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