Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Type mismatch (Visual Basic) 

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

To correct this error

  1. Check the assignment to make sure it is valid.

  2. Make sure you did not pass an object to a procedure that expects a single property or value.

  3. Make sure you did not use a module or project name where an expression was expected.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft