ChartObjects.ProtectChartObject property (Excel)

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



expression A variable that represents a ChartObjects object.


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


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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.