| ElementID | Arg1 | Arg2 |
| xlChartArea | None | None |
| xlChartTitle | None | None |
| xlPlotArea | None | None |
| xlLegend | None | None |
| xlFloor | None | None |
| xlWalls | None | None |
| xlCorners | None | None |
| xlDataTable | None | None |
| xlSeries | SeriesIndex | PointIndex |
| xlDataLabel | SeriesIndex | PointIndex |
| xlTrendline | SeriesIndex | TrendLineIndex |
| xlErrorBars | SeriesIndex | None |
| xlXErrorBars | SeriesIndex | None |
| xlYErrorBars | SeriesIndex | None |
| xlLegendEntry | SeriesIndex | None |
| xlLegendKey | SeriesIndex | None |
| xlAxis | AxisIndex | AxisType |
| xlMajorGridlines | AxisIndex | AxisType |
| xlMinorGridlines | AxisIndex | AxisType |
| xlAxisTitle | AxisIndex | AxisType |
| xlUpBars | GroupIndex | None |
| xlDownBars | GroupIndex | None |
| ElementID | Arg1 | Arg2 |
| xlSeriesLines | GroupIndex | None |
| xlHiLoLines | GroupIndex | None |
| xlDropLines | GroupIndex | None |
| xlRadarAxisLabels | GroupIndex | None |
| xlShape | ShapeIndex | None |
| xlNothing | None | None |
| Argument | Description | |
| SeriesIndex | Specifies the offset within the Series collection for a specific series. | |
| PointIndex | Specifies the offset within the Points collection for a specific point within a series. The value – 1 indicates that all data points are selected. | |
| TrendlineIndex | Specifies the offset within the Trendlines collection for a specific trendline within a series. | |
| AxisIndex | Specifies whether the axis is primary (0) or secondary (1). | |
| AxisType | Specifies the axis type: category (0), value (1), or series (2). | |
| GroupIndex | Specifies the offset within the ChartGroups collection for a specific chart group. | |
| ShapeIndex | Specifies the offset within the Shapes collection for a specific shape. | |
Private Sub Chart_BeforeDoubleClick(ByVal ElementID As Long, _
ByVal Arg1 As Long, ByVal Arg2 As Long, Cancel As Boolean)
If ElementID = xlFloor Then
Cancel = True
MsgBox "Chart formatting for this item is restricted."
End If
End Sub