Thanks for that, I will try. I had added the SendMouse lines of code in the 'Form_Load' event section before adding the layers. I will add them after and see whether it changes anything (although it works on my laptop).
Marc
Marc