Returns the dictionary with the given index.

Syntax:

Item( Index As Variant ) As Dictionary
Return: Dictionary
Parameters: Index The file name or the index number of the collection element. The index can be a numerical expression (a number from 1 to the value of the "Count" property) or a string.

Example:
Dim Dicts As Dictionaries
Dim Dict As Dictionary

Set Dicts = Application.Dictionaries
Set Dict = Dicts.Item("C:\Dictionaries\Test.txt")

See also:

Class Dictionaries


Last Updated: 04/26/05