Ok, this code works fine:
But conscious that using Selection can be slower, I tried:
This gives me a compile error, "named argument not found".
(details.Sheet is set elsewhere, on a user form, as a worksheet)
Also posted here:
http://www.ozgrid.com/forum/showthread.php?t=200128&p=772398#post772398
Code:
detailsSheet.Cells.Copy
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
But conscious that using Selection can be slower, I tried:
Code:
detailsSheet.Cells.Copy
detailsSheet.PasteSpecial Paste:=xlPasteValues
This gives me a compile error, "named argument not found".
(details.Sheet is set elsewhere, on a user form, as a worksheet)
Also posted here:
http://www.ozgrid.com/forum/showthread.php?t=200128&p=772398#post772398
Last edited: