Many thanks for the rapid response. Seems to have worked perfectly! Great little program.