I am trying to populate and use the MS Chart active x control with VB Script but when I pass in the array of data I get the following error: "Bad function argument"
Here is the code that generates the error:Incidentally, I have this working in normal VB and I am trying to translate it to VBScript (which I am less fluent with). Therefore, I know my variant array contains valid data to populate the chart.Code:rpt.MSChart1.ChartData = mvarData





Reply With Quote