JB
I used a procedure similar to this once but instead of:repeat until the mouse is up
I used:
repeat while the mouse is down
I do not recall ever experiencing a problem with it not stopping to scroll. You might try that just to see if it makes a difference.
Philip Chumbley