Wrote a long explanation and it didn't post, so simply put: can a range be named using a variable?
e.g. Set Rng = "Range" & N
Then Rng becomes Range1, Range2, etc in a loop.
This works to name sheets as variables ( sh = "Sheet" & M).
Doesn't seem to work with a range name. Get "type mismatch" error.
Thanks.
e.g. Set Rng = "Range" & N
Then Rng becomes Range1, Range2, etc in a loop.
This works to name sheets as variables ( sh = "Sheet" & M).
Doesn't seem to work with a range name. Get "type mismatch" error.
Thanks.
Last edited: