title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Worksheet.ProtectScenarios property (Excel) |
vbaxl10.chm174093 |
|
|
7b0aacea-00f3-7f0a-2be1-693f0efbec88 |
05/30/2019 |
medium |
True if the worksheet scenarios are protected. Read-only Boolean.
expression.ProtectScenarios
expression A variable that represents a Worksheet object.
This example displays a message box if scenarios are protected on Sheet1.
If Worksheets("Sheet1").ProtectScenarios Then _
MsgBox "Scenarios are protected on this worksheet."
[!includeSupport and feedback]