Hi, Bruce

No, nothing else.

Note without the FOR NEXT, it works well , but a further (in the 2 following lines ) " If result = ...THEN" test always passes, even if values should make the test fail ...

another strange thing.

Alain