place cursor in a specified text box in a Word form

M

macroapa

Hello, I have a Word form developed in vba and when a specific textbox
is empty a message box appears to tell the user to enter some data
before they can proceed. When they click ok to continue the cursor
places itself in textbox4 on the form but I want it to be in the box
they have left empty (in this case textbox5).

I have used the SetFocus method but that doesn't seem to do anything,
it still ends up in textbox4. Any ideas anyone?

Thanks.
 

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