Invalid event name

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Since an event procedure names are constructed by joining the object name to the event name with an underscore. This error has the following causes and solutions:

  • You used an underscore as part of the event name. Remove the underscore from the event name.

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