AndrewMB
Board Regular
- Joined
- Feb 3, 2008
- Messages
- 75
I have an issue with two userforms I'm using. They are both the same for the most part. Both contain two rows of textboxes, going down the form.
On the first form, when it opens, the top left text box has the cursor already in it and if i enter a number i can press enter and it will move down to the next textbox.
when it reaches the bottom one, if i hit enter, it goes to the top of the second row and then down that one.
Thats what i want.
The second form however, when it opens, has the commandbutton highlighted with no cursor in the top left textbox. i have to click the top left textbox to produce the cursor.
Also, if i enter a number and press enter it doesnt move downwards, it moves across and if i hit enter in that textbox it immediately jumps to the commandbutton.
I can't find any difference between the setup of both userforms.
Its driving me mad!
On the first form, when it opens, the top left text box has the cursor already in it and if i enter a number i can press enter and it will move down to the next textbox.
when it reaches the bottom one, if i hit enter, it goes to the top of the second row and then down that one.
Thats what i want.
The second form however, when it opens, has the commandbutton highlighted with no cursor in the top left textbox. i have to click the top left textbox to produce the cursor.
Also, if i enter a number and press enter it doesnt move downwards, it moves across and if i hit enter in that textbox it immediately jumps to the commandbutton.
I can't find any difference between the setup of both userforms.
Its driving me mad!