Hello curiousGrace,
Welcome to the Forum!
I am going to keep this simple and not address anything other than what the statement below does.
The object variable "UnionRange" will be a Range Object that contains the both ranges of "UnionRange" and "Area", both of which are Range Objects themselves.
Let's look at the what is happening using your example.
In the first statement, UnionRange is initially set to Range("A3") of the active worksheet. The second statement reassigns UnionRange to contain both the initial range, Range("D3"), and the Range("B2:D5"). If we check the address of UnionRange it would like this "D3, B2:D5".
Bookmarks