Chart.BeforeRightClick Event

Excel Developer Reference

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

See Also