Visual Basic Reference Error Messages  

Type mismatch

You have attempted to convert a value to another type in a way that is not valid.

To correct this error

See Also

Debugging Basics