ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   excel 2007 chart programming tip (https://www.excelbanter.com/excel-programming/396718-excel-2007-chart-programming-tip.html)

[email protected]

excel 2007 chart programming tip
 
I have found that when a chart on a worksheet is selected or activated
with a VBA statement, it doesn't "look" like it is selected, even
though it is.

To make it look the same as when you click on it with the mouse, the
following statements seem to do the trick.

Range("A1").Copy
Application.CutCopyMode = False

Cheers,

Brian Murphy



All times are GMT +1. The time now is 03:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com