sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,422
- Office Version
- 2016
- Platform
- Windows
I have a Textbox on a Userform and I want to disable the user being able to add a new line when typing, by pressing the return or enter key.
Is there a keypress event which can be used to prevent this?
Is there a keypress event which can be used to prevent this?