Thank you. I did not know about such links. Most code was copied and adjusted to do what I was looking for, from different sources. This will be a big help, and since it tells the issue with the lines, I should learn a lot.
Thanks again. This is the kind of help I was looking for.