|First, a posting tip. Please click on the blue line at the end of this post and read the instructions on how to post VBA code in this forum. If you follow those instructions, it will be much easier for us to read your code.|
Second, I'm curious as to why you used the SelectionChange event to trigger this code. It's going to run each and every time a cell, any cell, is selected in the worksheet in which it is stored.
Is that really what you want to happen?
Third, look carefully at your code and figure out what the "Selection" is at the time that the line is executed.
Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.