View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Dean[_2_] Dean[_2_] is offline
external usenet poster
 
Posts: 16
Default use of arrow keys in Excel

On Jan 12, 1:17*pm, Dean wrote:
Hey thanks alot, even though that wasn't quite what I was looking for,
I may use it on later projects,


hello, yea I found it out from an old example I got from the Internet,
the code it
Private Sub CommandButton1_KeyDown(ByVal KeyCode As
MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = 1 Then
MsgBox hello world
End If

End Sub

but the only problem is I don't know what key cone is which, I think
the left arrow is 37, but how could I find these no's out???