Description Used at script level to declare private variables and allocate storage space. The lower bound of an array is always zero.
Private variables are available only to the script in which they are declared.
A variable that refers to an object must be assigned an existing object using the Set statement before it can be used. Until it is assigned an object, the declared object variable has the special value Nothing . You can also use the Private statement with empty parentheses to declare a dynamic array. After declaring a dynamic array, use the ReDim statement within a procedure to define the number of dimensions and elements in the array. If you try to redeclare a dimension for an array variable whose size was explicitly specified in a Private , Public , or Dim statement, an error occurs.