Events_Sheet Before Right Click Event Handler Delegate
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Delegate type used to add an event handler for the SheetBeforeRightClick event. The SheetBeforeRightClick event occurs when any worksheet is right-clicked, before the default right-click action.
public delegate void AppEvents_SheetBeforeRightClickEventHandler(System::Object ^ Sh, Range ^ Target, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)] public delegate void AppEvents_SheetBeforeRightClickEventHandler(object Sh, Range Target, out bool Cancel);
Public Delegate Sub AppEvents_SheetBeforeRightClickEventHandler(Sh As Object, Target As Range, ByRef Cancel As Boolean)
A Worksheet object that represents the sheet.
The cell nearest to the mouse pointer when the right-click occurred.
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.