My file has 500+ named ranges that I use in 2 places:
1) formulas throughout the 15 sheets of the workbook
2) "Module1", a single VBA module where all my macro codes live
I want to replace some (but not all) Named Ranges with their actual cell references. I used the Formulas...Defined Names...Use in Formula...Paste Names...Paste List function to create a 2-column list on a new sheet (sheet name: "names") of all the Named Ranges and their references, and I've pasted the ones I want replaced into columns C and D.
TLDR: See image below. I have pasted the named ranges and their references that I want replaced into columns C and D (yellow cells). What code can I use to replace C1 with D1, C2 with D2, etc etc. The replacement needs to happen in two places:
1) Throughout the workbook
2) In "Module1" where all my VBA code lives.
1) formulas throughout the 15 sheets of the workbook
2) "Module1", a single VBA module where all my macro codes live
I want to replace some (but not all) Named Ranges with their actual cell references. I used the Formulas...Defined Names...Use in Formula...Paste Names...Paste List function to create a 2-column list on a new sheet (sheet name: "names") of all the Named Ranges and their references, and I've pasted the ones I want replaced into columns C and D.
TLDR: See image below. I have pasted the named ranges and their references that I want replaced into columns C and D (yellow cells). What code can I use to replace C1 with D1, C2 with D2, etc etc. The replacement needs to happen in two places:
1) Throughout the workbook
2) In "Module1" where all my VBA code lives.