Edit

Share via


Deselect method (Excel Graph)

Cancels the selection for the chart.

Syntax

expression.Deselect

expression Required. An expression that returns a Chart object.

Example

This example is equivalent to pressing Esc while working on the chart. The example should be run on a chart that has a component (such as an axis) selected.

myChart.Deselect

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.