ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   setfocus (https://www.excelbanter.com/excel-programming/414392-setfocus.html)

ranswrt

setfocus
 
On a userform how do I control where the curser goes when the enter key is
pressed?
Thanks

OssieMac

setfocus
 
Do you mean that you want to control the order that the cursor tabs from one
control to the next? If so, in the userform editor, right click anywhere on
the form (not on a control) and select Tab order. You will get a dialog box
that allows you to select then move the tab order.

--
Regards,

OssieMac


"ranswrt" wrote:

On a userform how do I control where the curser goes when the enter key is
pressed?
Thanks


ranswrt

setfocus
 

Thank You

"OssieMac" wrote:

Do you mean that you want to control the order that the cursor tabs from one
control to the next? If so, in the userform editor, right click anywhere on
the form (not on a control) and select Tab order. You will get a dialog box
that allows you to select then move the tab order.

--
Regards,

OssieMac


"ranswrt" wrote:

On a userform how do I control where the curser goes when the enter key is
pressed?
Thanks



All times are GMT +1. The time now is 03:47 PM.

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