The information in this article applies to:
SUMMARYYou can use the ReDim statement to redimension a dynamic array only if the array has been previously dimensioned with empty parentheses (no subscripts), or if the array has been previously redimensioned with ReDim. If you specified subscripts to originally dimension the array in a Global or Dim statement, or if you previously dimensioned the array using the Static statement in a Sub or Function, redimensioning the array will cause an "Array already dimensioned" error. MORE INFORMATION
You can use the ReDim statement to dimension an array that you have
already declared with empty parentheses either in the Global module or
in the general Declarations section. You can also use ReDim to
redimension arrays that you have dimensioned with ReDim previously
from any Sub or Function procedure. Additional query words: 2.00 3.00
Keywords : |
Last Reviewed: September 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |