ArrayList Object
Object stores elements dynamically
Remarks
ArrayList object is a dynamic Array. Objects can be created by using
CreateObject. This is dynamic Array List so when element added in
to ArrayList Object Capacity will be increased dynamically.
ArrayList element can be different datatype. Element can be any
form of data and can be retrieved by using index.
The following code illustrates how to create a ArrayList object:
Name of an object: System.Collections.ArrayList
Dim Obj 'Create a variable.
Set Obj = CreateObject("System.Collections.ArrayList")