Thanks very much Hugh Senior, Ken Ray and Mark Smith for their solutions, which are going in my scrapbook and then of course into the relevant projects. Graham