Please wrap your code with code tags. Thanks ( you know how it works)
Hi there
Does anyone now how this macro can copy and paste values except pivot tables.
Code:Sub AllValues() Dim wSh As Worksheet For Each wSh In ActiveWorkbook.Worksheets With wSh.UsedRange .Copy .PasteSpecial xlPasteValues End With Next wSh Application.CutCopyMode = False End Sub
Many thanks!
Last edited by AliGW; 2018-12-29 at 02:00 PM. Reason: Code tags added.
Please wrap your code with code tags. Thanks ( you know how it works)
Thank you Ken for this secure forum.
Hi, I can't edit the opening post. Thanks
OK - I have done it for you this time. In future, you must do this yourself as soon as you add code to a post. Thanks.
Ali
Enthusiastic self-taught user of MS Excel!
Bookmarks