Type mismatch: array or user-defined type expected

   

The type of an argument or parameter includes whether or not it is an array or a user-defined type. This error has the following cause and solution:

For additional information, select the item in question and press F1.