Hi,
I copied a tab with a million named ranges and formulas. I’d like to rename all on the new name to be prefixed with a tab indicator while leaving the original named ranges unchanged.
Currently the name manager has duplicate entries for each name, distinguished only by address.
I found code from @SydneyGeek in 2012 here: mrexcel.com/boards/threads/vba-code-to-rename-a-defined-range.660541/ that attaches a new name list by referencing items by their existing name, which would work if my name manager didn’t have duplicates.
It seems like if I replace Dim arNames() with whatever dim references the address I could try to revise the code to take my list of locations and new names, but I don’t know how to reference that. I googled for “arNames()” thinking that might lead me somewhere that would have the reference for the “refers to” column of the Name Manager table, but no dice.
Thanks for any help! I know I can rename one-by-one, but I have to believe a VBA solution is possible.
I copied a tab with a million named ranges and formulas. I’d like to rename all on the new name to be prefixed with a tab indicator while leaving the original named ranges unchanged.
Currently the name manager has duplicate entries for each name, distinguished only by address.
I found code from @SydneyGeek in 2012 here: mrexcel.com/boards/threads/vba-code-to-rename-a-defined-range.660541/ that attaches a new name list by referencing items by their existing name, which would work if my name manager didn’t have duplicates.
It seems like if I replace Dim arNames() with whatever dim references the address I could try to revise the code to take my list of locations and new names, but I don’t know how to reference that. I googled for “arNames()” thinking that might lead me somewhere that would have the reference for the “refers to” column of the Name Manager table, but no dice.
Thanks for any help! I know I can rename one-by-one, but I have to believe a VBA solution is possible.