Declaring

Typically collections are declared as module or global variables.
Always put the declaration on one line and the assignment on a different line.

Using the Set keyword allows you to create the collection exactly when you need it.
It allows you to test if the collection is Nothing.


Passing Collections In



Passing Collections Out

You must use the Set keyword if you want to return a collection from a function.



© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext