• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to deselect a chart using excel VBA

nagovind

Member
Kindly advise how to de-select a chart using Excel VBA instead of selecting a cell to de-select an active chart

Regards
Govind
 
You can't. You need to select something else to remove selection from active chart.

But then, why do you need to select the chart in the first place?

FYI - In older versions, when chart was selected, Excel did not highlight the data range at same time. And you were able to use ActiveChart.Deselect, but when I tested a while back on Excel 2013, it did not behave as expected and selection remained on the chart.
 
Back
Top