Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 796 Bytes

Excel.Worksheet.ProtectScenarios.md

File metadata and controls

38 lines (23 loc) · 796 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Worksheet.ProtectScenarios property (Excel)
vbaxl10.chm174093
vbaxl10.chm174093
Excel.Worksheet.ProtectScenarios
7b0aacea-00f3-7f0a-2be1-693f0efbec88
05/30/2019
medium

Worksheet.ProtectScenarios property (Excel)

True if the worksheet scenarios are protected. Read-only Boolean.

Syntax

expression.ProtectScenarios

expression A variable that represents a Worksheet object.

Example

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]