I'll have it when its finished John.

Thanks for the code and help, I'm having a go at implementing it in my project now.