S
Sandy
I have a situation where I would like to loop through all the charts on a
sheet and if a condition is true, hide them.
Can't get it right though!
My attempt - in Sheet_Activate
Dim ch as Chart
If Range("D9").value=0 then
For each ch In Sheets("MySheet")
ch.Visible=False
Next
Else
......................
End If
Sandy
sheet and if a condition is true, hide them.
Can't get it right though!
My attempt - in Sheet_Activate
Dim ch as Chart
If Range("D9").value=0 then
For each ch In Sheets("MySheet")
ch.Visible=False
Next
Else
......................
End If
Sandy