Thank you Dan,

This works wonderfully.