ERROR : Type mismatch

'ERROR : Type mismatch - [line 1]

Possible Cause

You may be trying to pass a value in to a method that is of a different type than the method requires. For example, if you are trying to pass a string to a method that expects a number.

Suggested Solution

Check what kind of value you need to use and then check that you are using a variable or data value of that type.