Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Array Function

Returns the type Variant with a data field.

Syntax:


    Array (ArgumentList)
  

See also DimArray

Parameters:

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

Example:


    Dim A As Variant
    A = Array("Fred","Tom","Bill")
    Msgbox A(2)