PasteSpecial method of Range class failed

Reddog94

Board Regular
Joined
Dec 20, 2011
Messages
52
I've been reading like posts on mrexcel.com for an hour - but still cannot fix my problem.

I have what I think should be a pretty basic code to copy visible cells in one sheet, then paste values in the next sheet. I continue to get a run-time 1004 "PasteSpecial method of Range class failed". When the code runs in the document, I see the paste range (A1) highlighted, but then it bombs.

Code:
On Error Resume Next
 
With Range("EMPLOYEE_VISIBLE_RANGE").CurrentRegion
.Offset(1).Resize(.Rows.Count - 1).SpecialCells(12).Copy
End With
Err.Clear
 
ActiveWorkbook.Sheets("Sheet3").Range("A1").PasteSpecial xlPasteValues

Does anybody see what I'm doing wrong?

Thank you.
 

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