Fix for "Clipboard Error. We couldn't copy the content of the clipboard"

Anonymous
2024-04-29T02:20:04+00:00

There have been many posts on how to fix the message Clipboard Error. We couldn't copy the content to the clipboard because its in use by another application.

I tried many of the suggestions:

  • Turn off live preview
  • Clear the clipboard
  • Reboot
  • Repair Excel
  • Add special folders to the Windows directory.
  • Issue the command prompt 'Echo Off | clip
  • Use the statement "Application.CutCopyMode = False after doing a copy and before closing a file
  • Copying one cell before closing a file
  • Removing com add-ins
  • Closing all other applications
  • And a score of others

None worked. I have a test macro that works for several minutes and does many copy/paste, graphics, formatting, etc. It would display the clipboard error at least once every 2 or 3 executions, and often every execution. I used it to test all the posted cures.

What I finally realized is that the application that was using the clipboard and causing the error was Excel itself. Excel was basically not able to keep up with the command to clear the clipboard.

The cure then became simple. Slow excel down by using the statement "DoEvents" right after I issued the command "Application.CutCopyMode = False". And to put the Application.CutCopyMode = False after I was finished with any copy that I did and right before any workbook close command. I've run my macro 10 times and no clipboard error message appears.

Please give it a try.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

42 answers

Sort by: Newest
  1. Anonymous
    2025-02-25T15:01:12+00:00

    What about Word. Solution, please.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-29T22:36:06+00:00

    I agree with Rick Curtis1 that this bug is due to Microsoft's buggy software that they need to fix. I don't know how people who uninstall Logitech see this error stop. I have never had a Logitech device or software on the computer I use and the error happens many times a day including on spreadsheets with no macros. In fact I would take it a step further than buggy. It's malicious. There is no reason another user (which is a OneDrive Office 365 Microsoft 11 artificial user) should ever being using my clipboard, much less locking it, sometimes until I reboot.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-01-21T16:15:02+00:00

    Thank you. For me the re installation worked. I did later delete the Logitech app on my computer for another reason: I didn't see the need for the Logitech software since the Microsoft drivers worked.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-13T13:30:16+00:00

    For me it was the option in logitech options + thatyou can bind copy and paste to certain buttons.

    Apparently Excel does not like it when that happens. That's when i get the message. However when I unbind the options. It works perfectly

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2025-01-07T21:39:22+00:00

    This is the way.

    This simple fix eliminated the problem for me.

    Was this answer helpful?

    0 comments No comments