
Originally Posted by
broro183
hi Paul,
Can you please upload an example workbook with a tiny amount of dummy data (just enough to make a PT work) & all of your recorded code?
This provides some more context for us to help with - and if necessary (ie we can't modify it for the same file) we can provide looping code to create all the formatted values from the PT's into a new file (& delete the original/save with a new name etc).
Rob
Sub Macro1()
For a = 1 To 20
Sheets(a).Select
Cells.Select
Selection.Copy
Cells.Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Range("A1").Select
Next a
End Sub
As for the spreadsheet, just imagine ten tabs. One with data, nine with pivot tables reading off the data tab (or reading off external source...doesn't matter).
It's just a simple paste special values only. I add the for next to loop through all the tabs.
Bookmarks