Show AllShow All

Charts Property

ShowCharts Property as it applies to the Application object.

ShowCharts Property as it applies to the Workbook object.

Example

This example sets the text for the title of Chart1.

With Charts("Chart1")
    .HasTitle = True
    .ChartTitle.Text = "First Quarter Sales"
End With
		

This example deletes every chart sheet in the active workbook.

ActiveWorkbook.Charts.Delete
		

This example hides Chart1, Chart3, and Chart5.

Charts(Array("Chart1", "Chart3", "Chart5")).Visible = False