PivotField.PropertyParentField Property
Excel Developer Reference |
Returns a PivotField object representing the field to which the properties in this field pertain.
Syntax
expression.PropertyParentField
expression A variable that represents a PivotField object.
Remarks
Valid only for fields that are member property fields.
If the IsMemberProperty property is False, using the PropertyParentField property will return a run-time error.
Example
This example determines if there are member properties in the fourth field and, if there are, which fields the properties pertain to. Depending on the findings, Excel notifies the user. This example assumes that a PivotTable exists on the active worksheet and that it is based on an Online Analytical Processing (OLAP) data source.
Visual Basic for Applications |
---|
|
See Also