Re: Isolate a region



"Bernie Deitrick" <deitbe @ consumer dot org> wrote...
>Just curious. Why use:
....
>instead of just:
>
> For n = 2 To Selection.Areas.Count
> Set r = Range(r, Selection.Areas(n))
> Next n
....

No good reason. Your loop is better. I didn't know .Range worked this way.

>And to rs: Harlan's code is written to account for future increases in
***
>size.

That too, but I did it because the OP asked to avoid hardcoding.


.


Quantcast