Can't open Clipboard (Error 521)

The Clipboard has already been opened by another application. This error has the following cause and solution:

  • Another application is using the Clipboard and won't release it to your application. Set an error trap for this situation in your code and provide a message box with Retry and Cancel buttons to allow the user to try again after a short pause.

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.