Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 940 Bytes

Excel.ChartObject.ProtectChartObject.md

File metadata and controls

41 lines (24 loc) · 940 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ChartObject.ProtectChartObject property (Excel)
vbaxl10.chm494100
vbaxl10.chm494100
Excel.ChartObject.ProtectChartObject
0fd7830a-5c07-89f4-190d-b4b231512de7
04/20/2019
medium

ChartObject.ProtectChartObject property (Excel)

True if the embedded chart frame cannot be moved, resized, or deleted through the user interface. Read/write Boolean.

Syntax

expression.ProtectChartObject

expression A variable that represents a ChartObject object.

Remarks

Setting this property to True will not protect the embedded chart frame from being modified through the object model.

Example

This example protects embedded chart one on worksheet one.

Worksheets(1).ChartObjects(1).ProtectChartObject = True

[!includeSupport and feedback]