G
Guest
I have a form with 8 pages tab. I have a code (in each page) to skip to next
page and so on to 7:
Private Sub Command15_Click()
With TabCtl0
If .Value = .Pages.Count - 1 Then
' It's the last page, so go back to the first page.
..Value = 0
Else
..Value = .Value + 1
End If
End With
End Sub
I need 2 more cmd buttons. One to skip to previous page (in each page)and
another one to to go back from last page to first page.
Does any body could help me? Many thanks
page and so on to 7:
Private Sub Command15_Click()
With TabCtl0
If .Value = .Pages.Count - 1 Then
' It's the last page, so go back to the first page.
..Value = 0
Else
..Value = .Value + 1
End If
End With
End Sub
I need 2 more cmd buttons. One to skip to previous page (in each page)and
another one to to go back from last page to first page.
Does any body could help me? Many thanks