Axes.Item Method
Returns a single Axis object from an Axes collection.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Item ( _
Type As XlAxisType, _
AxisGroup As XlAxisGroup _
) As Axis
'Usage
Dim instance As Axes
Dim Type As XlAxisType
Dim AxisGroup As XlAxisGroup
Dim returnValue As Axis
returnValue = instance.Item(Type, AxisGroup)
Axis Item(
XlAxisType Type,
XlAxisGroup AxisGroup
)
Parameters
Type
Type: Microsoft.Office.Interop.Excel.XlAxisTypeRequired XlAxisType. The axis type.
XlAxisType can be one of these constants:
xlCategory.
xlSeriesAxis Valid only for 3-D charts.
xlValue.
AxisGroup
Type: Microsoft.Office.Interop.Excel.XlAxisGroupOptional XlAxisGroup. The axis.
XlAxisGroup can be one of these constants:
xlPrimary Default
xlSecondary
Return Value
Type: Microsoft.Office.Interop.Excel.Axis