Hi Paul!
The reason for why i have written it as i have, is because i dont have 1 graph but 4!
Im using Column A,B for graph 1, Column A, C for graph 2, A,D for graph 3 and A,E as input for graph 4

The weird thing is that the code goes into debug mode, when launching from the button, but when i launch it in the compile mode, it works fine!