Trying to change the source field on a chart by using a acro button
the user can set the amount of data which i plotted on the graph by entering a number into a spreadsheet field
This allows the user to view data in more detail if required using the function to zoo in on a particular section
The first version seems to work setting the nuber to the data set required
however when I try to change this to allow the user to vary the data being plotted excel complains of errors
Whole code is displayed below
Bookmarks