XL98: Type Mismatch: Array or User Defined Type Expected (192362)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q192362 SYMPTOMS
In Microsoft Excel 98 Macintosh Edition, when a Microsoft Visual Basic for
Applications procedure passes the value of one array to another array, if
the data types of the two arrays are not compatible, you may receive one of
the following error messages:
Type mismatch: Array or User Defined Type Expected.
Compile error:
Type mismatch: array or user-defined type expected
These error messages are not clear. A more accurate error message is the
following:
Type mismatch: aarrays not of compatible type
RESOLUTION
To make sure that the data types for both arrays are compatible, dimension
both arrays with the same data type.
Modification Type: | Major | Last Reviewed: | 9/11/2002 |
---|
Keywords: | kbprb KB192362 |
---|
|