View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Enter pressed in Textbox

i would use:


Private Sub textbox1_enter()
Application.Run "PATH!MACRO_NAME"
end sub

-----Original Message-----
How do I signal my code to run when the user presses the
ENTER button in the Text Box TextBoxCustNum?

Private Sub TextBoxCustNum_KeyPress(ByVal KeyAscii As
MSForms.ReturnInteger)
?????????????????????????????
End Sub

.