Hello,
I have a sheet with data and a chart which displays data as graph.
Example:
titles rows: a b c d
data row1: 1 2 3 4
data row2: 3 2 3 4
Chart data source looks like: =Charts!$A$1:$B$5
My problem: according to user selections, number of rows changes (there are more rows or less rows).
I wish to change charts source data by VBA (Example: change to =Charts!$A$1:$B$10).
I wrote a code to update chart source data but it does not work (I get error 438).
Can you help me ?Please Login or Register to view this content.
Thank you
Bookmarks