I need to loop through all named ranges in my sheet.
I am currently doing this:
For Each nm In ActiveWorkbook.Names
The problem is that this sheet has names with global scope and with sheet scope.
This loop only gets the global scope.
I've tried:
For Each nm In Activeworkbook.Sheets(1).Names
But couldn't make it work. This loop also only gets those named ranges with global scope. Ideas?
I know the best solution would be to change the scope of the name, but I can't do it.