ZooTV92,
Attached is a sample workbook based on the criteria you provided. The bordered section is a named range: "LoopRange". The Up and Down buttons are Form controls that are both assigned to the following macro:
Sub btn_Click()
If Intersect(ActiveCell, Range("LoopRange")) Is Nothing Then
Range(Split(Range("LoopRange").Address, ":")(0)).Select
Exit Sub
End If
Select Case ActiveSheet.Buttons(Application.Caller).Caption
Case "Up"
If ActiveCell.Address = Split(Range("LoopRange").Address, ":")(0) Then
Range(Split(Range("LoopRange").Address, ":")(1)).Select
Else
ActiveCell.Offset(-1, 0).Select
End If
Case "Down"
If ActiveCell.Address = Split(Range("LoopRange").Address, ":")(1) Then
Range(Split(Range("LoopRange").Address, ":")(0)).Select
Else
ActiveCell.Offset(1, 0).Select
End If
End Select
End Sub
Hope that helps,
~tigeravatar
Bookmarks