Thanks a bunch. Both the codes are fine. Only one question, if you allow. In my example I've chosen the number 3. How should I change the Python code in order to select another number (e.g. 7)? Thanks. Nic