J
John
I have a tab control on a form which when a user clicks on the General
tab certain events need to occur under certain conditions. I was
testing out the following and it was not showing the msgbox.
Dim page_select As String
page_select = .Pages(.Value).Name
With Me(TabCtl30)
If page_select = "pageGeneral" Then
MsgBox "you are at pageGeneral"
End If
End With
How is the tab referred to?
Thanks...John
tab certain events need to occur under certain conditions. I was
testing out the following and it was not showing the msgbox.
Dim page_select As String
page_select = .Pages(.Value).Name
With Me(TabCtl30)
If page_select = "pageGeneral" Then
MsgBox "you are at pageGeneral"
End If
End With
How is the tab referred to?
Thanks...John