G
Guest
I use MaGraph.chart to draw graphics in a report.
I populate the datasheet and all work fine.
The problem is if I use cells (a: p) for the graph and the previous time, I
used (a;z) then the columns (r:z) are still in the graph.
I tried
oGraph.Application.DataSheet.Range("R0:Z4").Delete
oGraph.Refresh
oGraph.Application.Update
etc but there still there.
If I open the datasheet and delete the column, all work fine.
How can I set programmaticaly the range of the datasheet use by the graph ?
Thank a lot.
I populate the datasheet and all work fine.
The problem is if I use cells (a: p) for the graph and the previous time, I
used (a;z) then the columns (r:z) are still in the graph.
I tried
oGraph.Application.DataSheet.Range("R0:Z4").Delete
oGraph.Refresh
oGraph.Application.Update
etc but there still there.
If I open the datasheet and delete the column, all work fine.
How can I set programmaticaly the range of the datasheet use by the graph ?
Thank a lot.