I know this issue has been hashed and rehashed, but I still can not
find a satisfactory hack to be able to accomplish the following:
I have a recordset that I am pulling from a database based on various
parameters. The length of the recordset is indeterminate (sometimes 5
records, other times 200 etc.) Values in the recordset are stored in
various Arrays, and these Arrays are used to generate values for Series
in a chart.
I am periodically running across the error that XValues can not be set.
I know this is because there is a limitation on "formula" length when
dealing with Arrays, but is there a way to short circuit this process,
by adding severalsmaller arrays to XValues ?
For example:
SeriesCollection(j).xValues = Arrays1()
SeriesCollection(j).xValues.add(Arrays2())
I would like to avoid dumping my recordset to "dummy" workbook.
Any suggestions are appreciated.
TIA
Bookmarks