on-internet
← Community

xlPasteValues and xlPasteFormats at the same time

Stack Overflow ·

I am copying a range and then pasting its values and formats to another range: ws5.Range("F3:N" & xCell).SpecialCells(xlCellTypeVisible).Copy ws16.Cells(Rows.Count, "B").End(xlUp).Offset(4, 0).PasteSpecial xlPasteValues ws16.Cells(Rows.Count, "B").End(xlUp).Offset(4, 0).PasteSpecial xlPasteFormats Is it possible to do these two paste actions in one action without using With? I would like to increase the speed of my macro and that kind of small reduction might help me. Is there something like .PasteSpecial xlPasteValues and xlPasteFormats? I found link but even this answer is using With, which

Comments

Sign in or sign up to comment and upvote.

No comments yet.