Row and Column Range Converted to Two-Dimensional Array (115513)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q115513 SUMMARY
Page 127 of the Microsoft Excel 5.0 "Visual Basic User's Guide," states
that a Microsoft Excel horizontal or vertical array is converted to a one-
dimensional Visual Basic array. This information is not entirely correct.
When you define a variable in a procedure based on a row or a column of
cells on a worksheet, the variable is converted to a two- dimensional
array.
Note that the examples used on page 127 of the Microsoft Excel 5.0 "Visual
Basic User's Guide" ARE correct. A horizontal or vertical array such as
{"Apples",7,19} or {"Apples";7;19} is converted to a one- dimensional
Visual Basic array.
REFERENCES
For more information about Creating Arrays, click the Search button in the
Visual Basic Reference help and type:
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbProgramming KB115513 |
---|
|