Is there a way to set the format of a Total field in vba?
This code sets the format of the underlying field but not the total of it:
This code sets the format of the underlying field but not the total of it:
Code:
Forms("Form Name").PivotTable.Activeview.DataAxis.FieldSets(0).Fields(0).DetailBackColor = "Red"