title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Chart.BeforeRightClick event (Excel) |
vbaxl10.chm500079 |
|
|
d01f6911-2f6b-3118-27a2-dfafa48791ab |
04/16/2019 |
medium |
Occurs when a chart element is right-clicked, before the default right-click action.
expression.BeforeRightClick (Cancel)
expression A variable that represents a Chart object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Cancel | Required | Boolean | False when the event occurs. If the event procedure sets this argument to True, the default right-click action isn't performed when the procedure is finished. |
Like other worksheet events, this event doesn't occur if you right-click while the pointer is on a shape or a command bar (a toolbar or menu bar).
[!includeSupport and feedback]