ARGK, Norie and Richard

Thanks all of you for responding so quickly, I did try adding a 'Next r' to my code but wasn't wrapping that in an 'End If' statement so I feel I was on the right lines at least! Kudos to this forum and it's collection of excellent, informative contributors

Kenny