Hi guys,
I need a help. I am tryin to delete a series from a chart. the problem is for that series xvalue is chosen from a cell and the cell is currently empty now.( note that it is none and not zero also).
When i try to delete it using boht methods it is showing error. I tried using
for each s in activachart.seriescollection
s.delete
next s
i also tried activechart.seriescollection(1).delete
But both are returning error as Object variable not set.
Suggest a solution.
I need a help. I am tryin to delete a series from a chart. the problem is for that series xvalue is chosen from a cell and the cell is currently empty now.( note that it is none and not zero also).
When i try to delete it using boht methods it is showing error. I tried using
for each s in activachart.seriescollection
s.delete
next s
i also tried activechart.seriescollection(1).delete
But both are returning error as Object variable not set.
Suggest a solution.