Is there a way one can assign the last n cells of a column as the
source data for a graph?
Right now I am selecting the last 30 cells of column B and storing
them in column A (A2:A31) and assigning it to the graph using the
below given code:
.SetSourceData Source:=Sheets("Sheet1").Range("A2:A31"),
PlotBy:=xlColumns
I would like to avoid the loop that I use to copy 30 cells in column B
to Column A.