ProtectData Property

Microsoft Excel Visual Basic

True if series formulas cannot be modified by the user. Read/write Boolean.

Example

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

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