Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 894 Bytes

Excel.Chart.ProtectData.md

File metadata and controls

42 lines (24 loc) · 894 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Chart.ProtectData property (Excel)
vbaxl10.chm149158
vbaxl10.chm149158
Excel.Chart.ProtectData
29eb3e29-6005-70bd-cb38-053a5d54ed96
04/16/2019
medium

Chart.ProtectData property (Excel)

True if series formulas cannot be modified by the user. Read/write Boolean.

Syntax

expression.ProtectData

expression A variable that represents a Chart object.

Remarks

This property is not persisted when the file is saved. If you set this property to True and then reopen the file, it will no longer be set to True.

Example

This example protects the data on embedded chart one on worksheet one.

Worksheets(1).ChartObjects(1).Chart.ProtectData = True

[!includeSupport and feedback]