This error has the following causes and solutions:
Set a reference to the type library through the References dialog.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).