MrLookout9
New Member
- Joined
- Jun 25, 2011
- Messages
- 27
Hello and thank you for your expertise.
I am trying to activate Chart 39 on sheet1.
Sheets("Sheet1").ChartObjects(39).Activate
When I run my macro, this line errors out and I get an Application or Object defined error.
I don't believe the problem is with the Sheet. If I change the ChartObjects(1), The correct sheet is chose, but the wrong chart is activated (Chart 44 for some reason).
Are ChartObjects numbered the same as the Chart #?
Any thoughts?
I am trying to activate Chart 39 on sheet1.
Sheets("Sheet1").ChartObjects(39).Activate
When I run my macro, this line errors out and I get an Application or Object defined error.
I don't believe the problem is with the Sheet. If I change the ChartObjects(1), The correct sheet is chose, but the wrong chart is activated (Chart 44 for some reason).
Are ChartObjects numbered the same as the Chart #?
Any thoughts?