Axis.Crosses procedure builder

Axis.Crosses (Excel)

Returns or sets the point on the specified axis where the other axis crosses.

xlAxisCrossesAutomatic - Microsoft Excel sets the axis crossing point, xlAxisCrossesCustom - The CrossesAt property specifies the axis crossing point, xlAxisCrossesMaximum - The axis crosses at the maximum value, xlAxisCrossesMinimum - The axis crosses at the minimum value.

Can be one of the XlAxisCrosses constants. This property isn't available for radar charts. For 3D charts, this property can only be applied to the value axis, and indicates where the plane defined by the category axes crosses the value axis. This property can be used for both category and value axes. On the category axis, xlMinimum sets the value axis to cross at the first category, and xlMaximum sets the value axis to cross at the last category. Note that xlMinimum and xlMaximum can have different meanings, depending on the axis.

ActiveChart.Axes(1).Crosses = xlAxisCrossesAutomatic