run-time error '-2147221040 (800401d0)'

joe.afusco

Board Regular
Joined
Jun 25, 2010
Messages
80
Getting run-time error '-2147221040 (800401d0)':

DataObject:PutInClipboard OpenClipboard Failed

Any workaround on this error?

Macro takes everything currently on the clipboard, parses through it, pulling specific pieces out, then pastes it into excel. Get this error every time.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Getting run-time error '-2147221040 (800401d0)':

DataObject:PutInClipboard OpenClipboard Failed

Any workaround on this error?

Macro takes everything currently on the clipboard, parses through it, pulling specific pieces out, then pastes it into excel. Get this error every time.


Did you ever solve this?
Thanks.
 
Upvote 0
Did you ever solve this? Thanks.
We do still get this error from time to time. We run the macro that uses open clipboard roughly 15k times a day. Restarting the station helps fix it. When the issue was more consistent, I noticed the guy who wrote the code for us didn't kill off his variables on completing execution of the code. Maybe try that?
 
Upvote 0

Forum statistics

Threads
1,226,452
Messages
6,191,132
Members
453,641
Latest member
enfkkviesm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top