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.

Examples

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 © 1999-2024 SS64.com
Some rights reserved