Matthewst,

I'm not going to have time to modify the script to mix mine and Christophe's code. Just too much stuff going on at work.

However, all these scripts should work so I think you may need to read the FAQ on using UDFs and / or ask some more questions.