Wow, absolute genius!

That's perfect and does exactly what I was after.

Thank you Greg