Array

Create an Array.

Syntax
      Array(arglist)

Key
   arglist   A comma separated list of values to assign to the array.

If no arguments are specified, an array of zero length is created.

Example

Dim varDemo As Variant
Dim varFinal As Variant

'Create an array
varDemo = Array(10,20,30) 'Add the second array element to varFinal
varFinal = A(2)

“Winning takes talent; to repeat takes character.” ~ John Wooden

 


 
Copyright © SS64.com 1999-2019
Some rights reserved