Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

VBA Collection Related Functions

VBA Collections have a number of gotchas: (1) Retreival of objects from the collection, versus values.
If we are retrieving an obect we must use the form Set Value = coll(Key) whereas to retrieve a value the form is Value = coll(Key) Using the value syntax when the member is an object or vice versa causes a runtime error, Which can be a problem where the member's type is not known ahead of time. Note that using this framework's CollectionTryGetItem() function supports a consistent retrieval method for both situations, and CollectionItemIsObject() identifies the appropriate retrieval method.

Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd