Multi-tab form, select page

  • Thread starter Thread starter stindle
  • Start date Start date
S

stindle

I have a user form, with multi-tabs. I need a line of VBA code that can force
the form to open in a predetermend state. Is there a way to select a page in
VBA? I have to be on one page during the load due to DT Pickers, and another
page for user start information.
TIA
Steve
 
Forms("frmMain").tabMain.Pages(0).SetFocus
or
Forms("frmMain").tabMain.Pages("pageOne").SetFocus
 
Back
Top