in excel 2010, I'm using the following to copy and paste values and formating from a pivot table, but i lose the formatting (TableStyle2 = "PivotStyleLight8"):
Code
Selection.CurrentRegion.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
i have tried to add, xlPasteFormats, but to no avail...?
thank you.