That piece of code worked perfectly! Thank-you very much for this.