Axes.Parent Property (Excel)

Returns the parent object for the specified object. Read-only.

Syntax

expression .Parent

expression A variable that represents an Axes object.

Example

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

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

See Also

Concepts

Axes Collection

Axes Object Members