Well, I figured out another way to accomplish the same thing by using an Inputbox call in VB. I elimanated the extra DRO and will use the Inputbox to supply the number for the X axis movement. This way I can do a loop at the end of the code and it will display the Inputbox automatically without any user input.
The sequence will now be like this; press the hotkey assigned to the button with the VB code, the Inputbox pops up asking for a measurement, type the number and press enter, the Inputbox dissapears and the movement starts, once the movement is complete the Inputbox appears again.
I also assigned a certain input (000) that will exit the code when you need to do something else.
Thanks for considering my problem.
Rob