Hi,
I am trying to loop through all the charts in a sheet and I am using the following code.
The msgbox shows the chartobjects in the sheet but the For loop fails to detect any chartobjects and doesn’t do anything.
1. Why is this happening?
2. What is the difference between chart.activate and chart.select ?
Thanks.Dim Cht As ChartObject MsgBox ActiveSheet.ChartObjects.count For Each Cht In ActiveSheet.ChartObjects ….. Next Cht