This documentation is archived and is not being maintained.

ChartObjects.ProtectChartObject Property

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

Version Information
 Version Added:  Excel 2007

Syntax

expression.ProtectChartObject

expression   A variable that represents a ChartObjects object.

Remarks

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

Example

Visual Basic for Applications
Worksheets(1).ChartObjects(1).ProtectChartObject = True



Show: