Array Function

Returns the type Variant with a data field.

Syntax:

DimArray ( Argument list)

See also DimArray

Parametri:

Argument list: A list of any number of arguments that are separated by commas.

Primjer:

Dim A As Variant

A = Array("Fred","Tom","Bill")

Msgbox A(2)