I am trying to create a protected form in MS Word 2007. However, once created it won't tab between the text fields, or from a text field to the next field, it only tabs inside of the text fields. It will tab to the next field for everything else, ie date boxes, list boxes, etc.

I have tried using the Rich Text control, the Plain Text control, the Text Form field and the Text Box control and it all does the same thing.

6 Answers

What I have found is that you'll need to write macros for each form field:

I did a different work-around for my own form. I set it up so that the field I wanted to tab to was below the current, highlighed field. If you use a table, it'll work.

I created a three-cell table and divided my information accordingly across them. If you create more than one row, tabbing will go across--and you'll even land on cells where you can't make any entries or changes--so make sure you have a one-row table with columns across.

In each cell, I used a carriage return to add more information/fields. You can use CTRL+Tab to tab within the cell while you're creating your form for a nice, formatted look.

I used the LEGACY text form field, not the updated Word 2007 one (on the Developer tab in the Controls box, you'll see an icon of a file folder with a couple of tools criss-crossed in front of it).

Once you protect the form, you should be all set. I imagine you could play around with rows and columns if you need to tab across the form before tabbing down, but you would probably be limited in your options.

1

I have MS Word 2010 and this issue seems to be resolved when using plain text boxes (rich text still inserts the tab in the control.) This may have been resolved in an update to MS Word 2007

I created a form in Word using a table as I designed it. It was pretty awesome. I could change, add and delete cells so that my material would be lined up where I wanted it.

Then, after looking for a long time and resigning myself that my people would have to arrow down between fields, I discovered that tabbing works perfectly if you use regular text rather than rich text.

I had to go in and delete all my old fields and put in new ones just to be absolutely sure that I didn't miss anything and didn't have any residue of the old left in my very long and complicated form.

So, bottom line: Yes, you can tab and it followed the order of my cells perfectly!

I don't know if this solution will work for you, but it's worth a try. You will need to first protect the document by checking the box for Editing restrictions and pick Filling in Forms from the drop down.

When filling out the form the user will key in their data into the Rich Text box, if they hit tab it will extend the box. If they hit enter and then tab it will take them to the next field.

I am just a user, not an MVP, or a code writer, but hopefully this will help you out.

1

Try this code:

Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer) If KeyCode = 9 Then TextBox2.Activate End Sub 

from here:

1

Use a plain text control rather than a rich text control. Rich Text controls will store Tab and Carriage Return (Enter) so pressing either of those keys will not tab to the next field. Alternatively encourage the users to use the mouse instead.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy