Hi Randy,

I tried it again today before seeing your revised code. I entered just the number 4 and it works fine.

Thanks again

Regards Chris