code to move between tab controls

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I have a form with a tab Control with 'Packing' & 'Despatch' and
'Scan'

i have a button on the Packing tab that runs some code, once it runs
the code i want it to display the Despatch tab

How would i do this in code
 
Add this to the end of your code, just before you exit or end the sub:

Me.Despatch.SetFocus
 
Back
Top