An event specified in a RaiseEvent statement must correspond to a defined event. This error has the following causes and solutions:
Make sure the event name is spelled correctly.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).