Share via


DeleteField Method

Deletes a calculated field that was created by the AddCalculatedField or AddCustomGroupField methods from the specified field set.

expression.DeleteField(Field)

*expression   * Required. An expression that returns a PivotFieldSet object.

Field   Required Variant. The name, unique name or reference to a calculated field in the field set.

Applies to | PivotFieldSet Object

See Also | AddCalculatedField Method | AddCustomGroupField Method