How to put focus to textbox as needed

后端 未结 3 1626
北恋
北恋 2021-01-23 05:20

I have a textbox on a userform. If the user fails to enter anything in this textbox, I need to trap that to force an entry. I can do this easily enough, but after notifying the

3条回答
  •  星月不相逢
    2021-01-23 06:11

    Looking at the above code, I assume the i counter is to keep it going? Sorry a bit rusty, been a few years since I've done code.

    At any rate, if thats the case you could always run it while i=0, do (or while true).

    Sorry, first time posting here, hope that made sense.

提交回复
热议问题