How to Avoid the "ByRef Argument Type Mismatch" Error (138535)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q138535 SUMMARY
If you pass a parameter to a function or sub procedure by reference, the
type of the actual parameter passed and the corresponding function argument
must match. Otherwise, you will get a "ByRef argument type mismatch" error.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB138535 |
---|
|