CalculatedMember.IsValid Property
Excel Developer Reference |
Returns a Boolean that indicates whether the specified calculated member has been successfully instantiated with the OLAP provider during the current session.
Syntax
expression.IsValid
expression A variable that represents a CalculatedMember object.
Remarks
This property returns True even if the PivotTable is not connected to its data source. Make sure that the PivotTable is connected before querying the value of the IsValid property.
Example
This example notifies the user about whether the calculated member is valid or not. It assumes a PivotTable exists on the active worksheet.
Visual Basic for Applications |
---|
|
See Also