Getting active tab name from a form?

techexpressinc

Registered User.
Local time
Today, 00:33
Joined
Nov 26, 2008
Messages
185
I need to get the active tab name from the form?

Code:
TxtQueryVarible = Me.TabCtl14
   MsgBox TxtQueryVarible, vbOKOnly, "Confirmation...  "
This tells the tab i am at is index 0

Thx
Russ
 
This instead:
Code:
Dim strTab As String
 
strTab = Me.TabCtl14.Pages(Me.TabCtl14).Name
 
MsgBox strTab, vbOKOnly, "Confirmation...  "
 
Last edited:
Bob - you are a genius! When it comes to Access.

Russ
 

Users who are viewing this thread

Back
Top Bottom