Creating a Dictionary

Microsoft® Windows® 2000 Scripting Guide

Because the Dictionary is a COM object, it must be instantiated in the same fashion as any other COM Object. The following code statement creates an instance of the Dictionary object:

Set objDictionary = CreateObject("Scripting.Dictionary")

After the Dictionary object has been created, you can then configure Dictionary properties and add elements to the Dictionary.