When I create a graph after using range.copy and range.paste it leaves the paste range selected, and then when I create a graph a few lines later, it uses the selection as the f
Just use
SendKeys "{ESC}"
thereby cancelling your selection.