jrobin5881
Technical User
I'm trying to copy a range from one sheet and PasteSpecial to another located in the same workbook but I can't seem to get the PasteSpecial to work. I'm getting error messages. Here's my code: it's quite simple.(My actual code does not wrap as it does here in my post)
Code:
Sub CopyRng()
Set rng1 = Workbooks("ConditionReporting(version4).xls").Sheets("excExcelDownload").Range("BK16:BM22")
Set rng2 = Workbooks("ConditionReporting(version4).xls").Sheets("Summary").Range("C7")
Set rng3 = Workbooks("ConditionReporting(version4).xls").Sheets("excExcelDownload").Range("BN16:BQ22")
Set rng4 = Workbooks("ConditionReporting(version4).xls").Sheets("Summary").Range("H7")
Set rng5 = Workbooks("ConditionReporting(version4).xls").Sheets("excExcelDownload").Range("BR16:BS22")
Set rng6 = Workbooks("ConditionReporting(version4).xls").Sheets("Summary").Range("M7")
rng1.Copy rng2
rng3.Copy rng4
rng5.Copy rng6
End Sub