If I run VBA routine (Win XP. excel 2003):
ActiveSheet.PivotTables("PivotTable1").PivotSelect ("'Row Grand Total'"), xlDataAndLabel, True
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
Selection.Font.Italic = True
I get 1004 ERROR (about false formula)
I did some variation with "' '" without success.
If I run the same routine with F8 step by step, code go through without ERRORS.
How come, any idea?
ActiveSheet.PivotTables("PivotTable1").PivotSelect ("'Row Grand Total'"), xlDataAndLabel, True
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
Selection.Font.Italic = True
I get 1004 ERROR (about false formula)
I did some variation with "' '" without success.
If I run the same routine with F8 step by step, code go through without ERRORS.
How come, any idea?