Cannot clear the object "object" because it is in use. (Error 1951)

Method or event code is currently running for the object. This message can also occur when attempting to remove class definitions from memory with the CLEAR ALL command.

  • Interrupt the running code or wait until it completes before clearing memory.