• Lynn and ChrisM, many thanks for your suggestions. I have incorporated them into my code and much happier now as I'm not a massive fan of row-by-row processing, although it has its place in the universe.

    Thanks again.