Will someone please explain what is wrong with this?
The first line works perfectly, when ran separately I can see the all contents with the copy box around it.
On the second line I get, Run-time error 1004 - PasteSpecial method of Range class failed.
Thank you,
The first line works perfectly, when ran separately I can see the all contents with the copy box around it.
VBA Code:
Range(Range("H7"), Range("H7").End(xlDown)).Copy
Range(Range("I7"), Range("I7").End(xlDown)).PasteSpecial Paste:=xlPasteFormats
On the second line I get, Run-time error 1004 - PasteSpecial method of Range class failed.
Thank you,