I am developing an MS Outlook template which has VBscript behind it to control enabling and disabling of controls etc. This email gets sent to several different addresses who each complete part of the form. There are 3 pages on the form and I would like to bring the correct page to the front depending on who opens the email. I can get the users ID but when I try to change the focus I get the following error
"Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
I have found that this is because the control I am attempting to set the focus to is on a different page and is therefore hidden behind the curent page.
Does anyone know if I can change which page is in the foreground so that I can set focus to the correct control.
Many thanks
"Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
I have found that this is because the control I am attempting to set the focus to is on a different page and is therefore hidden behind the curent page.
Does anyone know if I can change which page is in the foreground so that I can set focus to the correct control.
Many thanks