Syntax

expression.Parent

expression A variable that represents an Axes object.

Example

This example displays the name of the chart that contains myAxis.

Visual Basic for Applications
Sub DisplayParentName() Set myAxis = Charts(1).Axes(xlValue) MsgBox myAxis.Parent.Name End Sub

See also: