What does your DATA look like?
From what I see, the CustomerCODE is in column A
and the Customer NAME is in column B.
in a sheet called " LIST" (with a leading space)
To debug it, put a watch on "selection.offset(i,0).value"
then step through and see what it shows.