The parameter list of an event-handling procedure must precisely match the declaration of the event. This error has the following cause and solution:
Eliminate extra parameters or add the missing ones.
Make the parameter types match those of the event declaration.
Make your procedure a Sub. An event handler can't return a value.
Qualify the name with the name of the proper type library to avoid the ambiguity.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).