This documentation is archived and is not being maintained.
|Excel Developer Reference|
expression.SheetBeforeRightClick(Sh, Target, Cancel)
expression An expression that returns a Application object.
|Sh||Required||Object||A Worksheet object that represents the sheet.|
|Target||Required||Range||The cell nearest to the mouse pointer when the right-click occurred.|
|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.|
This event doesn't occur on chart sheets.