Hi Rick,
It's possibe to reassign all the keys on the keyboard, although I didn't
think that's what the user had in mind.
Here is the code:
Sub SetupRoutine()
Application.OnKey "{Down}", "myUp"
Application.OnKey "{Up}", "myDown"
Application.OnKey "{Right}", "myLeft"
Application.OnKey "{Left}", "myRight"
End Sub
Sub myUp()
ActiveCell.Offset(-1, 0).Select
End Sub
Sub myDown()
ActiveCell.Offset(1, 0).Select
End Sub
Sub myLeft()
ActiveCell.Offset(0, -1).Select
End Sub
Sub myRight()
ActiveCell.Offset(0, 1).Select
End Sub
Sub Reset()
Application.OnKey "{Down}"
Application.OnKey "{Up}"
Application.OnKey "{Right}"
Application.OnKey "{Left}"
End Sub
I've included a Reset routine because one might change one's mind. The
first route must be run first. To get it to run when you open a file attach
the code the thisWorkook's Open_Workbook event.