DeleteField Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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.