I have a three page Multi-Page Userform. Off the the Multi-Page, but within the UserForm are Next and Previous buttons coded as follows:
Private Sub ButtonPrevious_Click()
Dim i As Long
i = IntvwWorksheet.Value - 1
If i >= 0 Then
IntvwWorksheet.Value = i
End If
End Sub
and
Private Sub ButtonNext_Click()
Dim i As Long
i = IntvwWorksheet.Value + 1
If i < IntvwWorksheet.Pages.Count Then
IntvwWorksheet.Value = i
End If
End Sub
Neither of them are working. Any ideas? Thank you in advance for your help!
Bookmarks