Thanks Rory. This is working. Your assumption that there are no blanks is quite correct.