I am trying to make a macro that creates a series of scatter plots, based on criteria in column M. The data to be used for the plot are in columns G and H. Column M is sorted ascending, and for all instances of one value, the scatter plot is created. So while cells in column M = "x", select the top and bottom cell, storing each as a range, and then use them to create a range chartRange. I think my problem is in defining the chartRange variable, not sure though. here is the code so far:
I know that there are other problems with this code, but all I'm concerned with right now is properly storing and referring to that range.
Bookmarks