One or more instances of this object are running. Can't remove it at this time.

This error has the following causes and solutions:

  • You've attempted to remove an object that is currently running. Close all instances of the object before removing it from the project.

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.