Thanks Rob - that looks really useful - I will work my way through it and let you know how I got on.

Dave