Focus problem

J

Jos Vens

Hi,

I have a strange problem: on my laptop (Win XP Prof, Office 2000), when I
set the focus on a textbox in a form, it gets the focus (looks normal), but
when I run the same program on another computer (same configuration, but not
a laptop), the focus is not set to that textbox (there is no focus - dashed
line or blinking cursor), only the default button is bold and reacts on the
enter-key.

How can I force excel to set the focus on that computer? I use a function
to set the focus and use it in the initialize section of the form:

Function Init_Focus()

vPassword.SetFocus

End Function


Thanks
Jos Vens
 
Top