Tab name or tag

  • Thread starter Thread starter John Thomas
  • Start date Start date
J

John Thomas

Is there a way to obtain the tab name or its tag with code, I can get its
value with the following code, but can only get the main forms name or tag
so far with other code.

var6 = Me.TabCtl149.Value

thanks John
 
John Thomas said:
Is there a way to obtain the tab name or its tag with code, I can get
its value with the following code, but can only get the main forms
name or tag so far with other code.

var6 = Me.TabCtl149.Value

thanks John

You could try:

With Me.TabCtl149
strPageName = .Pages(.Value).Name
strPageTag = .Pages(.Value).Tag
End With
 
Back
Top