Array Function

Returns the type Variant with a data field.

Notkun:

Array ( Argument list)

See also DimArray

Viðföng:

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

Dæmi:

Dim A As Variant

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

Msgbox A(2)