Axes.Item(XlAxisType, XlAxisGroup) Method

Definition

Returns a single Axis object from an Axes collection.

public Microsoft.Office.Interop.Excel.Axis Item (Microsoft.Office.Interop.Excel.XlAxisType Type, Microsoft.Office.Interop.Excel.XlAxisGroup AxisGroup = Microsoft.Office.Interop.Excel.XlAxisGroup.xlPrimary);
Public Function Item (Type As XlAxisType, Optional AxisGroup As XlAxisGroup = Microsoft.Office.Interop.Excel.XlAxisGroup.xlPrimary) As Axis

Parameters

Type
XlAxisType

Required XlAxisType. The axis type.XlAxisType can be one of these constants:xlCategory.xlSeriesAxis Valid only for 3-D charts.xlValue.

AxisGroup
XlAxisGroup

Optional XlAxisGroup. The axis.XlAxisGroup can be one of these constants:xlPrimary DefaultxlSecondary

Returns

Applies to