編輯

共用方式為


DocEvents_Event.BeforeRightClick Event

Definition

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

public:
 event Microsoft::Office::Interop::Excel::DocEvents_BeforeRightClickEventHandler ^ BeforeRightClick;
event Microsoft.Office.Interop.Excel.DocEvents_BeforeRightClickEventHandler BeforeRightClick;
Event BeforeRightClick As DocEvents_BeforeRightClickEventHandler 

Event Type

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

Applies to