I'm trying to gain a better feels for using ranges rather than trying to loop through cells and assign something dynamically that way; it seems more powerful, to me, to have a good understanding of how to define ranges and alter them dynamically. To this end I wrote the very small code below. This code gives me a "runtime error 91: object variable or with block variable not set."
I know it's simple for many, but if someone could give me an explanation as to why this error occurs, I would be very appreciative.
Here's the code...
Bookmarks