When do we use the keyword "set" in VBA? Try search in the threads, no result.

One of the examples(Walkenbach excel 2003 vba book), below:

Set rng = intersect(rng,parent.usedrange, rng)

How do i know when to use the keyword "set"?

Thanks in advance.