Array Function

Returns the type Variant with a data field.

Sintaksis:

Array ( Argument list)

Lihat juga DimArray

Parameter:

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

Contoh:

Dim A As Variant

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

Msgbox A(2)