Hi James,
Thanks for your help, it works fine!