View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
NooK[_42_] NooK[_42_] is offline
external usenet poster
 
Posts: 1
Default Check for Enter key and change focus?

Sorry for the delay on the answer, I was away on vacation with no acces
to internet.

Are you sure Keyup and Keydown are triggered by Enter because i
doesn't do it here.

I did

Private Sub tbData_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVa
Shift As Integer)
MsgBox (KeyCode)
End Sub

And when I press any button on the textbox I get a msgbox saying it'
code but when I press Enter nothing appears and the focus changes t
the next control.

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com