Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.19 KB

Excel.Application.SheetBeforeRightClick.md

File metadata and controls

41 lines (25 loc) · 1.19 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.SheetBeforeRightClick event (Excel)
vbaxl10.chm504076
vbaxl10.chm504076
Excel.Application.SheetBeforeRightClick
eb91ede3-3f17-7cf8-2b6f-b519acd11ce3
04/05/2019
medium

Application.SheetBeforeRightClick event (Excel)

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

Syntax

expression.SheetBeforeRightClick (Sh, Target, Cancel)

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
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.

Remarks

This event doesn't occur on chart sheets.

[!includeSupport and feedback]