tabbing round a userform, whole field is selected

M

Mike

I can't see any option so that when I tab round a userform, the cursor
is placed at the end of the text in the textbox, rather than the whole
field being selected

Is there any way round this please
 
J

John Wilson

Mike,

One way that might work...

SendKeys "{right}"
At the end of the textbox "Enter" event

John
 
R

Robert Rosenberg

Hi Mike,

1. Select the textbox and press F4 to bring up the Properties pane

2. Change the "EnterFieldBehavior" property to
"fmEnterFieldBehaviorRecallSelection"
 
M

Mike

1. Select the textbox and press F4 to bring up the Properties pane

2. Change the "EnterFieldBehavior" property to
"fmEnterFieldBehaviorRecallSelection"
Superb - thanks a lot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top