Good Day All . . . Ron - I apologise, your solution worked. In my code I put the <=0 test in the wrong place so I assumed that your suggestion was like mine. I put the test in the right place and now it is 85% acceptable code. Thank You again. Paul