![]() |
define UserForm properties
I have created a UserForm and I am trying to change the properties of a text
box. Some of the names you can derive the meaning of (ie:BorderStyle), but there are many that I don't understand what they do (ei:EnterFieldBehavior). The choices offered in the drop down box do nothing to explain (ie:1-fmFieldBehaviorRecallSelection). Maybe I am dense, but that doesn't help understand what my options are. I have searched everywhere that I can think to find the definitions of these properties, with no luck. Is there a place I can go to find the definitions of the UserForm and object properties? If there is no such place, would you be able to tell me what I need to accomplish the immediate task at hand? What I would like it to do is automatically tab to the next TextBox in the line once a value has been entered in the 1st box (there are 7), then when something is inputted into the 7th box it will automatically tab to the CommandBox, where the user can hit enter to submit (instead of having to click on it). |
define UserForm properties
Hi Jacy
In addition to what Rick mentioned you can set the 'Default' property of Commandbutton to True; so that Enter key from the form will trigger the commanbutton. If this post helps click Yes -------------- Jacob Skaria |
define UserForm properties
I originally thought of mentioning that, but then realized it would get in
the way of what the OP wanted to do... have the Enter key move the focus from TextBox to TextBox in sequential order. Setting the Default property to True would activate the CommandButton as soon as the OP hit the Enter key even if he were in the first TextBox at the time. -- Rick (MVP - Excel) "Jacob Skaria" wrote in message ... Hi Jacy In addition to what Rick mentioned you can set the 'Default' property of Commandbutton to True; so that Enter key from the form will trigger the commanbutton. If this post helps click Yes -------------- Jacob Skaria |
All times are GMT +1. The time now is 12:29 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com