Just wondering whether it is possible to plot an array into a chart. I have 2 arrays of data which I would like to plot against eachother, but I'm not sure (1) whether this is doable in VBA Excel or (can you only plot something referenced in the sheet itself, ie "K1, K2..."?) and (2) what the correct syntax would be if it is doable.
Writing this in my code:
ActiveChart.SetSourceData Source:=Array_1(), Array_2()
results in a Syntax Error.
Any advice is much appreciated. Thank you.
Writing this in my code:
ActiveChart.SetSourceData Source:=Array_1(), Array_2()
results in a Syntax Error.
Any advice is much appreciated. Thank you.