Link to home
Start Free TrialLog in
Avatar of Senniger1
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.
Avatar of peakpeak
peakpeak
Flag of Sweden image

ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Senniger1
Senniger1

ASKER

Exactly what I needed.