Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,527
- Office Version
-
- 365
- 2016
- Platform
-
- Windows
I use this code to copy a range from one worksheet (filtered) to another.
The paste is not applying the row heights from the original worksheet. I thought .PasteSpecial xlRowHeights would cover that. And second, the original worksheet has a graphic that also needs to be copied over to the destination worksheet. How can I ensure that happens?
Code:
Worksheets("MasterWKSH").Range("A1:R300").Copy
With Worksheets("CUE").Range("A1")
.PasteSpecial xlPasteColumnWidths
.PasteSpecial xlRowHeights
.PasteSpecial xlPasteAll
End With
The paste is not applying the row heights from the original worksheet. I thought .PasteSpecial xlRowHeights would cover that. And second, the original worksheet has a graphic that also needs to be copied over to the destination worksheet. How can I ensure that happens?