Thanks Glenn, I always make sure to get any UDFs direct from your website to ensure I get the right versions. Interesting about the Newline character, I'll see if that works. I will check out the Enumini UDF though!