Trying to set source data using two sections of data for a chart using variables. When I use just one of the variables it selects the right area for the respective variable. However, when I put both in it causes one of the selections to be different (Larger). Is there a way to do it so it selects both areas as if I was selecting them individually.
Here is the code with both the variables.
ActiveChart.SetSourceData Source:=Range( _
X, Y)