The AutoFormat command had some features that weren't accessible through other methods, like changing the captions to the same as the source name, and altering the heading rows. AutoFormat has been replaced by PivotTable Styles in Excel 2007, and they don't make the same kinds of changes to the pivot table structure. If you can run a macro, you could use something like this:
Code:
Sub ChangeDataCaptions()
Dim pt As PivotTable
Dim pf As PivotField
Set pt = ActiveSheet.PivotTables(1)
For Each pf In pt.DataFields
If Left(pf.Caption, 6) = "Sum of" Then
pf.Caption = pf.SourceName & " "
End If
Next pf
End Sub
Bookmarks