Hello,
In my VBA code, I calculate a matrix M of dimension (x, 1) where x is a variable number. Now I want plot M in a x-y graph. How can I source the data from the matrix? Searching on internet I found the command SetSourceData, but it requires as input a range, like:
There is a way to source the data for the graph directly from M?Charts(1).SetSourceData Source:=Sheets(1).Range("a1:a10")
Bookmarks