Data source types: Essbase
HypIsAncestor() checks whether the specified member is the ancestor of another specified member.
HypIsAncestor(vtSheetName, vtMemberName, vtAncestorName)
ByVal vtSheetName As Variant
ByVal vtMemberName As Variant
ByVal vtAncestorName As Variant
vtSheetName: For future use. Currently the active sheet is used.
vtMemberName: A member name. Required.
vtAncestorName: The member name of the ancestor. Required.
Returns a variant in which -1 is true, 0 is false; otherwise, returns the appropriate error code.