ProtectChartObject Property

Microsoft Excel Visual Basic

ProtectChartObject Property

       

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

Example

This example protects embedded chart one on worksheet one.

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