chuckchuckit
Well-known Member
- Joined
- Sep 18, 2010
- Messages
- 541
I have 2 charts on an active page. I know this is the code to activate most recently created chart:
It happens to be chart #2. So how would I activate chart #1?
I am trying to avoid using the .Select as other programs might unselect.
Would there be problems running code on an activated chart if the "escape key" gets pushed? Does the active chart then become no longer active when push escape?
Can "With" procedures be use to make chart changes without activating the chart?
Thanks.
Chuck
Code:
ActiveSheet.ChartObjects(ActiveSheet.ChartObjects.Count).Activate
I am trying to avoid using the .Select as other programs might unselect.
Would there be problems running code on an activated chart if the "escape key" gets pushed? Does the active chart then become no longer active when push escape?
Can "With" procedures be use to make chart changes without activating the chart?
Thanks.
Chuck