Thanks again man. I have been trying to solve this for weeks.
You're a legend