Hi,
I have a command button on page 1 of a form, which, when pressed, I would like to move to the first field on page 2 of the form. I have achieved this to some extent using a simple macro.
However, this is what I would really like to happen;
(1) After tabbing out of the last field on the first page of the form I would like the focus to shift to the command button (but not actually 'pressing' the button).
(2) Once this has occurred, the only keys/buttons that can be used to 'press' the button are the spacebar, the enter key or a left click on the mouse. If the tab key is pressed then I want the focus to shift back to the first field of the first page.
(3) If any other key/button is pressed whilst the focus is on the command button I don't want anything to happen.
Any ideas?
Many thanks in advance.
Best regards to all.
Russell
Usr33t
I have a command button on page 1 of a form, which, when pressed, I would like to move to the first field on page 2 of the form. I have achieved this to some extent using a simple macro.
However, this is what I would really like to happen;
(1) After tabbing out of the last field on the first page of the form I would like the focus to shift to the command button (but not actually 'pressing' the button).
(2) Once this has occurred, the only keys/buttons that can be used to 'press' the button are the spacebar, the enter key or a left click on the mouse. If the tab key is pressed then I want the focus to shift back to the first field of the first page.
(3) If any other key/button is pressed whilst the focus is on the command button I don't want anything to happen.
Any ideas?
Many thanks in advance.
Best regards to all.
Russell
Usr33t