Sorry, you're both correct. The dangers of manual inputting! Cheers daddylonglegs, that seems to do the trick, I've just got to adapt it now. I knew it wouldn't be too hard but was just one of those times when my brain was working against me.