M
mp
Hi all,
How to loop through range names?
range names like menu Insert| name | define
similar to intention of (invalid) pseudocode below
For each range in Worksheet.Ranges
Debug.Print range.name
next
since i don't find a ranges collection the above won't work
the reason i ask is i had named some ranges inconsistently and wanted to run
a quick macro to fix them
eg
labor00
labor2001
....
should be
labor2000
labor2001
...
thanks
mark
How to loop through range names?
range names like menu Insert| name | define
similar to intention of (invalid) pseudocode below
For each range in Worksheet.Ranges
Debug.Print range.name
next
since i don't find a ranges collection the above won't work
the reason i ask is i had named some ranges inconsistently and wanted to run
a quick macro to fix them
eg
labor00
labor2001
....
should be
labor2000
labor2001
...
thanks
mark