tab control issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a tab control "tabCtlClass"
"tabCtlClass" has 2 pages "tabGroup", "tabPrivate"

When a Command Button (on main form) is clicked, the code needs to determine
which tab page is selected (either tabGroup or tabPrivate).

Could anyone help me implement this issue in VBA code?

Thanks in Advance :)


Daniel Yang
 
sgyan1 said:
I have a tab control "tabCtlClass"
"tabCtlClass" has 2 pages "tabGroup", "tabPrivate"

When a Command Button (on main form) is clicked, the code needs to
determine which tab page is selected (either tabGroup or tabPrivate).

Could anyone help me implement this issue in VBA code?

Thanks in Advance :)


Daniel Yang

The TabControl has a Value property. That will correspond to the index number
of the currently selected page.
 
Back
Top