User-defined types can only be passed by reference (the default), not by value. The error may not be reported until the call is made. This error has the following cause and solution:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).