Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16039

Is it possible to attach a Recordset to a diagram/chart?

$
0
0
Hello!
Tell me please,
maybe there is a solution so that I can use the recordset directly in the diagram?

Code:

Dim vRS as Recordset '(ADODB)
Then, i receive data to it.

And, then, I want to attach it to the chart:

Code:

ActiveSheet.ChartObjects(1).Chart.SeriesCollection.item(1).Values = vRS
but, result is nothing.

Maybe you know another way?

Viewing all articles
Browse latest Browse all 16039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>