Enabled Property

Microsoft Excel Visual Basic

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