Cursor disappears / Cursor verschwindet

C

Cevikel

Hi NG ,

I am having an excel sheet with a user form ( VBA-Macro ). This user form
contains 5 TextBox'es ( from TextBox 11 to 15 ) for input of some values.
When I input some values and press "enter" the cursor moves from one
TextBox to the next one ( visible ). From TextBox 11 to 14 its okay but from
TextBox 14 to 15 the cursor disappears and I have to enforce the
cursor by selecting TextBox 15 by placing the mouse to it and clicking.
Why this happens and can anyone help.
Thanks in advance.

Hallo Ng ,

Ich habe eine Exceldatei mit einem Makro , wo am Anfang eine Userform
eingeblendet wird. Diese Userform enthält 5 TextBoxen ( von TextBox 11 bis
15 )
um dort Werte ( Zahlen ) einzugeben. Wenn Ich Werte in die erste TextBox
eingebe und auf "Return" drücke wird der Cursor auf die nächste TextBox
weitergeschaltet ( sichtbar ). Von TextBox 11 bis 14 funktioniert das
einwandfrei.
Aber von TextBox 14 auf 15 verschwindet der Cursor und Ich muss TextBox 15
mit der Maus anwählen ( anklicken ) und dann erst erscheint der Cursor
wieder.
Warum passiert das und kann irgendjemand helfen.
Danke im Voraus.
 
T

Tom Ogilvy

Look at the TabIndex and TabStop properties. The TabStop property should be
true (if false, it won't receive focus when tabbing). The tabindex property
indicates which order you tab through the controls.
 

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