ProtectData Property Example

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

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