Sorry that the reference to the tab control and pages didn't work for you. The error is probably due to not having a reference library set. I am not sure which library since I have a number of libraries set, but the following code works in my Access 2000 program. Here are a couple of reference libraries I have set. Microsoft Access 9.0 Object Library, and Microsoft Visual Basic for Applications Extensibility 5.3
Dim tbc As control, pge As Page, oldPge As Page
' Return reference to tab control.
Set tbc = Me!TabCtl0
' Return reference to currently selected page.
Set pge = tbc.Pages(tbc.Value)
' Check the currently selected page.
If (pge.Name = "Shop Order List"

Then
glbLastPage = pge.Name
Exit Sub
Else
'--- Always go to the Equipment form to get the equipment Number
'--- when coming from the shop order
If glbLastPage = "tpShopOrder" Then
tbc.Pages(1).SetFocus
End If
End If
glbLastPage = pge.Name