having an empty textbox, in and of itself does not raise an error - so the
error must be in your code. You need to check for this condition and react
accordingly.
Set the tabindex property of the textbox to 0
for the OK button, set the "default" property to True
--
Regards,
Tom Ogilvy
mushy_peas wrote in message
...
NO!!!!!!!
Got 1 small prob and a "would be nice"
1. small prob is that if no password is put in, then i get an error
2. i use a macro to start the useform, but can i get the cursor to go
to the textbox, and when i hit the ENTER key, it presses the OK
button.
this would be the icing on the cake, but this is so cool!
---
Message posted from http://www.ExcelForum.com/