Enabled Property

Applies To

ChartObject object, ChartObjects collection object, ControlFormat object, OLEObject object, OLEObjects collection object.

Description

True if the object is enabled. Read/write Boolean.

Example

This example disables embedded chart one on worksheet one.

Worksheets(1).ChartObjects(1).Enabled = False