Unexpected error; please contact Microsoft Technical Support

This condition may or may not be serious. This error has the following cause and solution:

  • An unanticipated error occurred in the host application or in Visual Basic. You don't have to assume that this error is serious. However, you should note the number of the error and report it to Microsoft Technical Support.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.