7 Ways to Create a Fillable Field with Underline in Your Word Document

In this article, let’s talk about the 7 useful ways to create a fillable field with underline in your Word document.

Once in a while, we would need to create some questionnaires. Therefore, it would be a needy demand to create a fillable field with underline. In the following content, there are 7 effectual methods which shall meet your requirements.

Method 1: Manually Draw a Line

  1. First off, put cursor at the place where the line goes and click “Insert” tab.
  2. Then click “Shapes” in “Illustration” group.
  3. Choose “Line” in “Lines” group.Click "Insert"->Click "Shapes"->Click "Line"

Now there shall be a colored line. You can click on it and change the color to black by choosing a shape style under “Format” tab.Change Line Color as You Need

Method 2: Add Underline for Font

  1. To start with, enter a series of space and select them.
  2. Then click the expand button under “Home” tab to open the “Font” dialog box.
  3. Next choose an underline style and click “OK”.Open "Font" Dialog Box->Choose Underline Style->Click "OK"
  4. Now type on the selection and the text shall be underlined.Effect of Adding Underline for Font

Method 3: Enter Underscore

  1. Firstly, click “Underline” under “Home” tab and choose one line style.Click "Home"->Choose "Underline"
  2. Then press “Shift+ Underscore” to get a line.
  3. Then place cursor above the line and type the content. As you type, you will find the line gets longer and longer. So you need to trim the length afterwards.

Method 4: Insert a Paragraph Border

  1. To begin with, click the border icon under “Home” tab in “Paragraph” group.
  2. Then choose “Bottom Border”.Click "Home"->Click "Bottom Border"

Here is the effect:Effect of Inserting Paragraph Border

Method 5: Use a Table Border

  1. Click “Insert” tab first.
  2. Then click “Table”.
  3. Next choose “Draw Table” on the list.Click "Insert"->Click "Table"->Click "Draw Table"
  4. Draw a table of one row and one column with approximate height and width.
  5. Then select the table.
  6. Click “Design” tab then “Borders” Icon.
  7. First choose “No Border” and then “Bottom Border”.Click "Design"->Click Borders Icon->Click "No Border"->Choose "Bottom Border"

Method 6: Create a Horizontal Line

  1. Type dash three times.
  2. Then press “Enter”.

Method 7: Run a Macro

  1. First and foremost, press “Alt+ F11” to open Word VBA editor quickly.
  2. Then click “Normal” and then “Insert”.
  3. Next click “Insert”.
  4. Then choose “Module”.Click "Normal"->Click "Insert"->Click "Module"
  5. Double click on the new module to open the editing space.
  6. Paste these codes there:
Sub CreateAFillableField()
  Dim objParagraph As Paragraph
  Dim objTable As Table
 
  'Initialization
  Set objTable = ActiveDocument.Tables.Add(Range:=Selection.Range, NumRows:=1, NumColumns:= _
    1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
    wdAutoFitFixed)
  objTable.Cell(1, 1).SetWidth ColumnWidth:=InchesToPoints(1.1), RulerStyle:=wdAdjustNone
 
  'Set Table borders invisible.
  Selection.Borders.Enable = False
 
  'Apply bottom border only to table.
  With Selection.Borders(wdBorderBottom)
    .LineStyle = Options.DefaultBorderLineStyle
    .LineWidth = Options.DefaultBorderLineWidth
    .Color = Options.DefaultBorderColor
  End With
 
  'Remove table caption.
  For Each objParagraph In ActiveDocument.Paragraphs
    If objParagraph.Range.Style = "Caption" Then
      objParagraph.Range.Delete
    End If
  Next objParagraph
End Sub
  1. Click “Run” button.Enter Codes->Click "Run"

For easy use in the future, you can assign a button for the macro. You can refer to this article: How to Remove the Formatting of Pasted Texts with Macro and VBA in Your Word

 

Comparison of 7 Methods

Methods Advantages Disadvantages
Method 1: Manually Draw a Line You can drag the line to adjust its location. 1.         You will have to change the color to black.

2.         The line can’t get longer automatically even if there is no enough space for the text.

Method 2: Add Underline for Font 1.         There is no extra space left on the line.

2.         The line can get longer automatically if there is no enough space for the text.

1.         You can’t see the line until you enter text over it.

2.         You can’t move the line.

Method 3: Enter Underscore You can view the line. 1.         You have to apply underline to the space before creating the line.

2.         You will have to reduce the line length since it gets longer as you type.

3.         You can’t move the line.

Method 4: Insert a Paragraph Border You can view the line. 1.         You can’t change the line length.

2.         You can’t move the line.

Method 5: Use a Table Border 1.         You can move the line.

2.         You can alter the line length.

1.         You have to remove unnecessary borders.

2.         You have to remove the table caption.

Method 6: Create a Horizontal Line You can view the line. 1.         You can’t change the line length.

2.         You can only have it on the next paragraph of existing text.

3.         You can’t move the line.

Method 7: Run a Macro 1.         You can view the line.

2.         You can move the line.

3.         You can change the length.

4.         No need to delete table caption.

5.         The quickest way to get a fillable field with underline

You will have to assign the macro to a button if you want to use it quickly in the future.

Address File Corruption Predicament

In everyday use of digital devices, file loss or corruption due to all kinds of reasons happens all the time. However, these seeming broken files are highly recoverable, for there is a specialized damaged Word docx repair tool, the last-ditch effort you can make to save your data.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including xls data error recovery tool and pdf repair software products. For more information visit www.datanumen.com

3 responses to “7 Ways to Create a Fillable Field with Underline in Your Word Document”

  1. Hello! My name is Brian from datatoleads.com We sell Consumer and business data to generate lower costing B2B and B2C Leads and Sales.turn data to leads! Would you be interested in getting sample custom targeted lead list.

    datatoleads.com

  2. Another way: Enter the field label, add a space or two then change font to underline and insert tab. insert tab stop at the point where the underline should end. This approach allows text to be inserted without the line extending to the right. Only limitation is that the text entered should be shorter than where the tab stop ends the underline.

  3. I tried all these suggestions, but when the auto-fill box is filled in with information, a line does not show under the information.

Leave a Reply

Your email address will not be published.