Bewerken

Delen via


Chart.BeforeRightClick event (Excel)

Occurs when a chart element is right-clicked, before the default right-click action.

Syntax

expression.BeforeRightClick (Cancel)

expression A variable that represents a Chart object.

Parameters

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.

Remarks

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).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.