ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Userform Return Key Behaviour (https://www.excelbanter.com/excel-discussion-misc-queries/117908-userform-return-key-behaviour.html)

JoePineapples

Userform Return Key Behaviour
 
Is it possible to change the behaviour of the return button within a textbox?

What I would like is, once the return button is pressed, it starts a new line in the textbox rather than it moving to the next textbox within the form.

Jim Rech

Userform Return Key Behaviour
 
Set the text box's EnterKeyBehavior property to True. This requires that
the MultiLine property is also True.

--
Jim
"JoePineapples" wrote in message
...
|
| Is it possible to change the behaviour of the return button within a
| textbox?
|
| What I would like is, once the return button is pressed, it starts a
| new line in the textbox rather than it moving to the next textbox
| within the form.
|
|
|
|
| --
| JoePineapples




All times are GMT +1. The time now is 04:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com