Senniger1
asked on
Use VBA code to change tabs (or pages) on a multitab / multipage form in Outlook
I created an Outlook 2003 form with two pages (e.g. P.2 and P.3) displayed.
When a user opens the form it's on the first page (e.g. P.2). While completing the form, if they put a check in the box "Fees Paid" (name = chkFeesPaid), then I'd like the form to automatically switch to the next tab (or page) which is named P.3.
Here's my visual basic code so far, but I don't know how to get the focus on P.3.
if Item.UserProperties("Fees Paid").Value = true then
msgbox "Complete Credit Card Information on Page 3"
NEED CODE HERE TO PUT THE FOCUS ON THE TAB OR PAGE 3
Else
End if
Can anyone help me. Thanks in advance.
When a user opens the form it's on the first page (e.g. P.2). While completing the form, if they put a check in the box "Fees Paid" (name = chkFeesPaid), then I'd like the form to automatically switch to the next tab (or page) which is named P.3.
Here's my visual basic code so far, but I don't know how to get the focus on P.3.
if Item.UserProperties("Fees Paid").Value = true then
msgbox "Complete Credit Card Information on Page 3"
NEED CODE HERE TO PUT THE FOCUS ON THE TAB OR PAGE 3
Else
End if
Can anyone help me. Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Exactly what I needed.
http://bytes.com/topic/access/answers/746197-setting-focus-subforms-tab