Multi-tab form, select page

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
 
G

George Nicholson

Forms("frmMain").tabMain.Pages(0).SetFocus
or
Forms("frmMain").tabMain.Pages("pageOne").SetFocus
 
Top