Public Sub Button1_Click()
Dim nNext As Integer
With ActiveSheet
If .Index = Worksheets.Count Then
nNext = 1
Else
nNext = .Index + 1
End If
End With
Application.Goto Worksheets(nNext).Range(ActiveCell.Address)
End Sub
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.