looking for the one button take me from Sheet1!C4 to Sheet2!C4

R

Ron Ko

I am looking for a one button shortcut that will take me from worksheet to worksheet with the same row and column
 
J

J.E. McGimpsey

Attach this macro to your button:

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
 
Top