I can use the following format correctly outside of a macro, however when I record it and include it in a macro the format does not take effect.
Any ideas why not?
Code:
Range("X9").Select
With ActiveSheet.PivotTables("PivotTable6").PivotFields("Sum of EXT PRCE ")
.NumberFormat = "#,##0_);[Red](#,##0)"
End With
Any ideas why not?