phantom1975
MrExcel MVP
- Joined
- Jun 3, 2002
- Messages
- 3,962
I tried this and it won't work:
Private Sub TextBox1_Change()
Application.Onkey "{ENTER}" Or "~","Macro1"
End Sub
Basically, after the user enters data into the TextBox and hits the either ENTER key, I want to run Macro1.
What should I do instead?
_________________
Pass on what you have learned. Support this great website by clicking on the sponsor's ads!.
This message was edited by phantom1975 on 2002-08-22 23:38
This message was edited by phantom1975 on 2002-08-23 01:20
Private Sub TextBox1_Change()
Application.Onkey "{ENTER}" Or "~","Macro1"
End Sub
Basically, after the user enters data into the TextBox and hits the either ENTER key, I want to run Macro1.
What should I do instead?
_________________
Pass on what you have learned. Support this great website by clicking on the sponsor's ads!.
This message was edited by phantom1975 on 2002-08-22 23:38
This message was edited by phantom1975 on 2002-08-23 01:20