tengo este codigo;:
Option Explicit
Sub ActivarOnKey()
Application.OnKey "{PAGEUP}", "SpinUp"
Application.OnKey "{PAGEDOWN}", "SpinDown"
End Sub
Sub SpinUp()
On Error Resume Next
If Not Intersect(Target, Range("E5:E10000")) Is Nothing Then
With Me
ActiveCell = ActiveCell + 1
Else
ActiveCell.Offset(-1, 0).Select
End If
End Sub
Sub SpinDown()
On Error Resume Next
If Not Intersect(Target, Range("E5:E10000")) Is Nothing Then
With Me
ActiveCell = ActiveCell - 1
Else
ActiveCell.Offset(1, 0).Select
End If
End Sub




