R
Robin Clay
Greetings !
When I address a different data file, I have code to
generate a chart to display the new data.
For some s t r a n g e reason, the code SOMETIMES comes
to a grinding halt at this line -
.SeriesCollection(4).XValues = _
"=Ali2!R" & VTPStartRow & _
"C2:R" & VTPEndRow & "C2"
VTPStartRow has a value of say 80, and VTPEndRow about
100, and it works just FINE if I enter them "manually".
It never stops anywhere else, always at this line ! But
sometimes it works OK....
When I address a different data file, I have code to
generate a chart to display the new data.
For some s t r a n g e reason, the code SOMETIMES comes
to a grinding halt at this line -
.SeriesCollection(4).XValues = _
"=Ali2!R" & VTPStartRow & _
"C2:R" & VTPEndRow & "C2"
VTPStartRow has a value of say 80, and VTPEndRow about
100, and it works just FINE if I enter them "manually".
It never stops anywhere else, always at this line ! But
sometimes it works OK....