Error 1004 - paste method failed

XLSqry

New Member
Joined
Feb 9, 2011
Messages
7
Below macro works on some PC and on others PC shows the error message (it fails on Activesheet.Paste but when you press F8 it works ok, just won't execute in one go):

Run-time error 1004:
Paste method of Worksheet class failed


offset_Increment = Range("r5")
ActiveSheet.Shapes.Range(Array("Mark 1")).Select 'this is drawing tool object that we try to move
Selection.Cut
Sheets("Database Quality").Range("C5").Select
ActiveSheet.Paste
Selection.ShapeRange.IncrementLeft 44.3181889764 + (381.1362992126 * offset_Increment)


Thanks for your help
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Please use [code ] .... [/code] tags around your code.

Rich (BB code):
offset_Increment = Range("r5")
ActiveSheet.Shapes.Range(Array("Mark 1")).Select 'this is drawing tool object that we try to move
Selection.Cut
Sheets("Database Quality").Range("C5").Paste

Selection.ShapeRange.IncrementLeft 44.3181889764 + (381.1362992126 * offset_Increment)
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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