Tab Control Event

  • Thread starter Thread starter Gary S
  • Start date Start date
G

Gary S

Hi,

I am using tabs on form and I want an event to fire
when the tab is clicked. I tried the events for the tab
but they do not fire the event. How do I get this
to work?
 
Thanks Graham,

You got me going down the right path:

Private Sub TabCtl91_Change()
MsgBox "The tab has been clicked " & Me.TabCtl91.Value
End Sub

If I use your advice plus the Me.TabCtl91.Value, I have
what I need to accomplish what I need.
--
Thanks!
Gary S


Graham Mandeno said:
Hi Gary

Use the Change event for the tab control (not the individual tabs).
 
Back
Top