View Single Post
  #4   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 11, 7:44*pm, "Rick Rothstein"
wrote:
What object are you trying to move? Where is the object at (the worksheet or
a UserForm)?

--
Rick (MVP - Excel)

"Dean" wrote in message

...



Hey, I am woundering for a simple game that I am making, wheather it
will be possible to use the arrow keys to move an object, right now I
have been using a command button, and using the acceleratior option,
but it is annoying to put alt + another key,
if you could tell me this I will be truly greatful- Hide quoted text -


- Show quoted text -


I'm using a userform, control toolbox and I just want to move a
picture left and right
at the moment I am using this code

Dim i As Integer

Private Sub Cmdright_Click()
i = i + 1
Image1.Left = i
End Sub

thanks