Hi TPS and thank you for your quick reply.
You are right, when I test the macro line by line in the VB editor, I have movement on the axes. For the moment I am only testing it offline on my laptop but, regardless, I can see the X and Y DROs counting.
The only problem is that when you assign a macro to the jog buttons, it is not executed when you press the screen button. Not even with the hotkeys.
With the onscreen buttons, when you press the button the axis starts moving and keeps on moving for as long you keep the button pressed and stops when you let go. Pretty normal behavior for a JOG BUTTON I think.
Cheers