Creating underlines in word

Word for Microsoft 365 Word 2021 Word 2019 Word 2016 Word 2013 Word 2010 Word 2007 More…Less

Underline words and the spaces between them

The quickest way to underline text is to press Ctrl+U and start typing. When you want to stop underlining, press Ctrl+U again.

You can also underline text and spaces in several other ways.

What do you want to do?

Example

Underline words and the spaces between them

Example of single underline

Underline words, but not the spaces between them

Change the underline style and color

Underline style and color

Use a double underline

Underline blank spaces

Remove underlining

text without underline

  1. Select the text that you want to underline.

  2. Go to Home > Underline. Or press Ctrl+U.

    Click Underline

Underline words, but not the spaces between them

  1. Select the text that you want to underline.

  2. Go to Home and select Font dialog box launcher Button image.

    Clicking the Font dialog box launcher

  3. Go to Font and select Words only in the Underline style drop-down list.

Change the underline style and color

  1. Select the text that you want to underline.

  2. Go to Home and select Font dialog box launcher Button image.

    Tip: You can also use the keyboard shortcut Ctrl+D.

    Clicking the Font dialog box launcher

  3. Use the Underline style drop-down list to select an underline style.

    Use the Underline color drop-down list to change the color of the line.

Use a double underline

  1. Select the text that you want to underline.

  2. Go to Home and select Font dialog box launcher Button image.

    Clicking the Font dialog box launcher

  3. Select double underline in the Underline style drop-down list.

Underline blank spaces

You can underline blank spaces by pressing Shift+Hyphen (-), but it is difficult to line up the underlines — if you are creating a fill-in form, for example. Also, if the AutoFormat option for changing underscore characters into border lines is turned on, pressing Shift+Hyphen (-) three or more times in a row will result in a line that extends the width of the paragraph, which may not be what you want.

A better way to underline blank spaces for a printed document is to use the Tab key and apply the underline formatting to the tab characters.

When you want to create an underline in an online form, insert table cells with the bottom border turned on.

Underline blank spaces for a printed document

To underline blank spaces for a printed document, use the Tab key and apply the underline formatting to the tab characters.

  1. Go to Home > Show/Hide ¶ so that you can see the marks that indicate spaces and tab stops.

  2. Press the Tab key.

  3. Select the tab characters that you want to underline. A tab character looks like a small arrow.

    Tab

  4. Do one of the following:

    • Press Ctrl+U to apply a simple underline.

    • To apply a different style of underline, go to Home and select Font dialog box launcher Button image.

      Select Underline style to choose a different underline style.

Underline blank spaces for an online document

To create an underline in an online document or form, insert a table cell with the bottom border turned on. This method ensures that when someone types on the line, the line stays in place.

  1. Click or tap where you want to insert a blank underline.

  2. Go to Insert > Table.

    Insert a table

  3. Select the upper-left box to insert a 1×1 Table.

    If you want to add introductory text, such as a name or Social Security Number, before the underline, insert a 2×1 Table.

    To change the length of the line, move the pointer over the end of the table until it becomes a resize pointer resize pointer (double-headed arrow), and then move the arrow right or left to lengthen or shorten the line.

  4. Click or tap in the table (or in the second table cell if you created a 2×1 table).

  5. The Table Tools appear. On the Design tab, select Borders > Borders and Shading.

  6. Under Setting, select None.

  7. Under Style, select the line type, color, and width that you want.

  8. In the diagram under Preview, click or tap between the lower margin markers to add the bottom border. Make sure only the bottom line is displayed.

    Note: If you prefer to view the table without the light gray gridlines that do not print, select the table, go to Layout next to the Table Design tab and select View Gridlines.

    If you used a 2×1 table to make room for introductory text, you can type the text before the line.

Remove underlining

To remove single underlining from words and spaces, select the underlined text and press Ctrl+U.

To remove other styles of underlining, press Ctrl+U twice.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Creating underline to certain sentence in Word 2016 can highlight the information you want to emphasize. Here I gathered 4 simple and pratical ways that can underline specific text in Word , let’s have a quick look.

1. Use Shortcut key to Underline Text

It may be the best known way of adding underline in Word. Select the content you want to emphasize, press Ctrl+U to underline it.

4 Ways to Create Underline in Word 2016

2. Underline Text with Font

Select the text, click the U symbal in Home tab. Or you can click the small black triangle next to it and choose the style of underline.

4 Ways to Create Underline in Word 2016

3. Underline Text with Table Border

1. Select the text, click the small black triangle next to Borders in Home.

4 Ways to Create Underline in Word 2016

2. But the underline created in this way will take up an entire line. For better result, you can click Insert tab and create a new table in the first place.

4 Ways to Create Underline in Word 2016

3. Input the content in the table, and resize it to adapt the text.

4 Ways to Create Underline in Word 2016

4. Right click the table and select Table Properties.

4 Ways to Create Underline in Word 2016

5. Click Borders and Shading.

4 Ways to Create Underline in Word 2016

6. Choose the style you like and disable the other three borders in Preview, then click OK.

4 Ways to Create Underline in Word 2016

6. Now you can see the result. Underline created in this way will be farther to the character than created by Ctrl+U.

4 Ways to Create Underline in Word 2016

4. Underline Text with Shapes

1. Click InsertShapes. Choose the straight line icon in Lines.

4 Ways to Create Underline in Word 2016

2. Underline the text directly. You can also choose the color of underline in Drawing Tools. If you feel difficult to draw a straight line, then press Shift key at the same time.

4 Ways to Create Underline in Word 2016

Copyright Statement: Regarding all of the posts by this website, any copy or use shall get the written permission or authorization from Myofficetricks.

Updated: 10/11/2021 by

Underlined word

To create an underline without any text in Microsoft Word, press Ctrl+U to start the underline, then, press Ctrl+Shift+spacebar to create non-breaking spaces. Press and hold this keyboard shortcut combination to add multiple underlines next to each other, creating an underline. For example, holding down Ctrl+Shift and pressing Spacebar five times would create an underline five characters long.

An example of how this could be used is for printable forms, for example: Name:                   .

Microsoft Word Logo on blue background

Underlining seems like a simple enough task in Microsoft Word, but many times there’s more involved. You can underline words, spaces, words with spaces, and words without spaces. We’ll show you several ways to use underline in Word.

Many people reserve underlining for web links while others find it a good way to emphasize text in a document. Along with the options for underlining words and spaces, you can format it as a double, bold, or dotted line and remove an underline you’ve added. Let’s walk through it all!

Underline Words With Spaces

The most uncomplicated way to underline in Word is words with spaces. You may have a phrase, sentence, or paragraph you want to underline.

Select the text and then apply the underline one of these ways:

  • Click the Underline button in the Font section of the Home tab.
  • Press Ctrl+U on Windows or Control+U on Mac.

Text underlined with spaces in Word

Underline Words Without Spaces

Underlining words without spaces takes a little more work, especially for sentences and paragraphs. You can select each word, one at a time, and then apply the underline as described above using the Underline button or keyboard shortcut. But there’s a faster way!

Select the text you want to underline, including the spaces. Right-click and pick “Font.”

Font in the context menu

In the Underline Style drop-down box, choose “Words Only.” You can see a preview at the bottom of the dialog box confirming that only the words are underlined and not the spaces. Then, click “OK.”

Word Only for the Underline Style

You should have your phrase, sentence, or paragraph with underlines only below the words.

Word underlined without spaces in Word

Underline Only Spaces

Maybe you’re creating a document such as a printable form where you want to underline spaces to make a blank line. You’d think that inserting several spaces and applying the underline to them would be the way to go. Unfortunately, it doesn’t work. Here are two ways to underline spaces.

RELATED: How to Overline Text in Word

Method One: Use Tab Stops

You can use the default tab stops in Word which are 0.5 inches with each press of the Tab key. If you prefer, you can set up your own tab stops.

Press the Tab key the number of times necessary to cover the length you need. Then, select all of the tab stops you just inserted by dragging your cursor through them.

Selected tab stops

Click the Underline button in the ribbon or use a keyboard shortcut. You’ll then see your line, or underlined spaces.

Underlined tab stops

Method Two: Use a Table

Another way to create underlined spaces is by inserting a table and adjusting the borders. Go to the Insert tab and select the Table drop-down arrow. Choose the first square which is the one-by-one table.

One by one table size

When the table appears, it should stretch the width of your document. If not, drag the right side so that it does. Right-click and choose “Table Properties.”

Table Properties in the context menu

Click “Borders and Shading” at the bottom of the Table tab.

Borders and Shading on the Table tab

On the right side of the dialog box, click to remove the top and side borders, leaving only the bottom border. Click “OK” to apply the change.

Borders removed from the table

You’ll then have a single line as your “underlined spaces.”

Underlined spaces using a table

Change the Underline Format

You have a few different ways to change the format for your underline. You can pick a double underline, a bolder line, or a dotted line in a variety of styles. And you can change the line before or after you apply the underline to your text or spaces.

RELATED: How to Add a Dotted Line in a Microsoft Word Document

To change the line style at the time you apply the underline, select the text you want to underline. If you’ve already applied the underline, select all of the underlined text. Then, do one of the following.

Click the arrow next to the Underline button in the Font section of the Home tab. Select the line style you want to use.

Underline button styles

Right-click the selected text and pick “Font.”Choose the line in the Underline Style drop-down box and click “OK.”

Underline Styles in the Font box

If you used the table method above to underline spaces, select the table and head back to Table Properties > Borders and Shading. Then, use the options in the Style drop-down box.

Border Styles for a table

How to Remove an Underline

Removing an underline is as easy. Select the underlined text and click the Underline button in the Font section on the Home tab. This deselects the Underline button and removes the underline from your text.

Removed underline

Alternatively, you can use the shortcut Ctrl+U on Windows or Control+U on Mac.

Another way to remove an underline is to select the underlined text, right-click, and choose “Font.” Choose “None” in the Underline Style drop-down box and click “OK.”

None selected in the Font box

If you inserted a table for underlined spaces, you can remove the table by right-clicking it and choosing “Delete Table.”

Delete Table in the context menu

Knowing how to apply, format, and remove underlines in your Word documents is important if that’s your preferred method of emphasizing text. But you can also highlight text or apply a format like bold or italics.

READ NEXT

  • › How to Adjust and Change Discord Fonts
  • › BLUETTI Slashed Hundreds off Its Best Power Stations for Easter Sale
  • › Google Chrome Is Getting Faster
  • › Mozilla Wants Your Feature Suggestions for Thunderbird
  • › Expand Your Tech Career Skills With Courses From Udemy
  • › The New NVIDIA GeForce RTX 4070 Is Like an RTX 3080 for $599

To create an underline without any text in Microsoft Word, press Ctrl + U to start the underline, then, press Ctrl + Shift + spacebar to create non-breaking spaces. Press and hold this keyboard shortcut combination to add multiple underlines next to each other, creating an underline.

Contents

  • 1 How do you insert an underline in Word?
  • 2 How do you underline text manually?
  • 3 How do you underline without text?
  • 4 What is the shortcut key for underline?
  • 5 How do I insert a picture into a Word document without moving the text?
  • 6 What is underline in MS Word?
  • 7 How do you highlight in Word without text?
  • 8 How do I get rid of the red underline in Word?
  • 9 How do I get rid of the red underline in Word 2016?
  • 10 Why is underscore not showing in Word?
  • 11 How do you underline a word in Windows 10?
  • 12 How do I insert a picture in Word without resizing?
  • 13 How do you put a picture behind text on Microsoft Word?
  • 14 What kind of type is underline?
  • 15 How do you highlight specific words in Word?
  • 16 How do I shade a whole line in Word?
  • 17 What does red underline in word mean?
  • 18 Why are all my words underlined in red on word?

How do you insert an underline in Word?

Do one of the following:

  1. Press Ctrl+U to apply a simple underline.
  2. To apply a different style of underline, go to Home and select Font dialog box launcher . Select Underline style to choose a different underline style.

How do you underline text manually?

Underlining Shortcuts and Troubleshooting. Highlight text and press CTRL+U. The quick key-combo for underlining text in Microsoft Word is holding Control and pressing the “U” key.

To create an underline without any text in Microsoft Word, press Ctrl + U to start the underline, then, press Ctrl + Shift + spacebar to create non-breaking spaces. Press and hold this keyboard shortcut combination to add multiple underlines next to each other, creating an underline.

What is the shortcut key for underline?

Format characters

To do this Press
Hide the selected text. Ctrl+Shift+H
Apply bold formatting. Ctrl+B
Apply underline formatting. Ctrl+U
Apply underline formatting to the words, but not the spaces. Ctrl+Shift+W

How do I insert a picture into a Word document without moving the text?

To insert an image into Word without moving any text is to set the image’s default wrapping to no wrapping before entering it into the document.

  1. Click the location in your document where you want to insert a picture.
  2. On the Insert tab, click Pictures.
  3. Select the option you want to use for inserting pictures.

What is underline in MS Word?

An underline is a section of text in a document where the words have a line running beneath them. For example, this text should be underlined. Underlined text is commonly used to help draw attention to text.Create underline text in HTML. Create underline text in a word processor, such as Microsoft Word.

How do you highlight in Word without text?

Method 1: Using the CTRL Key and Your Mouse

  1. Step 1: Open up your Word document. First off, you’ll need to open up a Word document with some sentences ready.
  2. Step 2: Select the blank spaces. Now that your document is ready, select a blank space in your document.
  3. Step 3: Highlight the blank spaces.

How do I get rid of the red underline in Word?

Click on the name of the language in the status bar at the bottom of the screen. 2. Add a check mark in the Do not check spelling or grammar option and click OK. All the red and green squiggly underlines should be gone.

How do I get rid of the red underline in Word 2016?

When that situation comes, just follow this easy guide to remove spelling and red lines in MS Word:

  1. Click on the File menu and then on Options.
  2. In the Options pop-up window, open Proofing.
  3. Untick the Check spelling as you type and Check grammar with spelling.

Why is underscore not showing in Word?

Sometimes underscores don’t appear if the line spacing is too tight, or at the bottom of a page (especially if white space is hidden). If you change the Zoom ratio, do they appear?

How do you underline a word in Windows 10?

On the Ease of Access page, choose the “Keyboard” tab on the left. On the right, scroll down a bit and turn on the “Underline Access Keys When Available” toggle under the “Change How Keyboard Shortcuts Work” section. Once enabled, you’ll start seeing underlined letters in various menus, dialog boxes, and windows.

How do I insert a picture in Word without resizing?

CTRL+Arrow key(s). and have the ability to move it around. text-area from the drawing options and then insert a picture into it. EXACTLY its original size.

How do you put a picture behind text on Microsoft Word?

Moving Images Behind Text

  1. Select the image.
  2. Choose the Order option from the Draw menu on the Drawing toolbar. Word displays a submenu.
  3. Choose Send Behind Text from the submenu. The image should move behind the text.

What kind of type is underline?

Understanding Underlines

Underline Type Meaning
Single Adds a single underline, the entire length of the selected text
Words Only Underlines only the words (not spaces or tabs) in the selected text
Double Adds a double-line underline, the entire length of the selected text
Dots Same as Single, but uses a line of dots instead

How do you highlight specific words in Word?

Highlighting Found Text

  1. Press Ctrl+H.
  2. Click the More button, if it is available.
  3. In the Find What box, enter the text you want to find and highlight.
  4. In the Replace With box, enter ^&.
  5. With the insertion point still in the Replace With box, click the Format button.
  6. Click the Highlight option.

How do I shade a whole line in Word?

Apply shading to words or paragraphs

  1. Select the word or paragraph that you want to apply shading to.
  2. On the Home tab, in the Paragraph group, click the arrow next to Shading.
  3. Under Theme Colors, click the color that you want to use to shade your selection.

What does red underline in word mean?

Microsoft Word comes with a powerful spelling and grammar checking module.If there is a spelling mistake, the word gets underlined with a red color wavy / squiggly / zig-zag line indicating the error. For grammatical errors a wavy green line appears under the word or phrases.

Why are all my words underlined in red on word?

You have the Track Changes feature turned on – red underlining is the default markup used to identify Insertions. Go to the Review tab, turn Track Changes OFF, then Accept all changes in the document & save the file.

Sometimes we need underlines or just simple lines without any text. Imagine you are creating fillable forms or printable forms and you want to add an empty underline in the front of the name of the person?

A real example will look like this:

a image that shows result of underline without any text exapmle in Word

Create underlines in Word without any text

Let’s see How can we create underlines in Microsoft Word without any text by using two simple methods.

To create an underline without any text in Microsoft Word, press Ctrl + U and then press Ctrl + Shift + spacebar to create non-breaking spaces. You can create multiple underlines next to each other, by pressing and holding this keyboard shortcut combination.

Create underlines in Word by inserting Shape lines

We can also create an underline by inserting shape elements in MS Word.

  1. Go to Microsoft Word Ribbon Area and then go to Insert Tab.
  2. Click on the Shapes and Select line option.
  3.  Draw the line by holding the mouse where you want to add underlines. You can also format it by clicking on the line.

a detalied image about adding underline text through shapes with lines

Some Useful Articles

I’ve been in the business of writing, marketing, and web development for a while now. I have experience in SEO and content generation. If you need someone who can bring life to your words and web pages, I’m your guy.


Asked by: Ottis Luettgen

Score: 4.8/5
(23 votes)

Underline words and the spaces between them

What do you want to do? Select the text that you want to underline. Go to Home > Underline. Or press Ctrl+U.

Why can’t I see my underline in Word?

The problem is you have NONE selection on your underline button. Fix: Push the small drop down arrow on the right hand side of the underline button…and pick a line type other than «none».

How do you make an underline in Word?

Type the text you want to overline into your Word document and make sure the “Home” tab is active on the ribbon bar. Click the down arrow on the “Borders” button in the “Paragraph” section of the “Home” tab. Select “Top Border” from the drop-down menu.

How do you underline in Word without text?

Create underlines in Word without any text

Create an underlined space by pressing Ctrl + U to start the underline, press the Spacebar for each underlined space you want to create and end the line with an underscore ( _ ).

Where is the underscore key?

You can easily type underscore on mac and Windows computers, press the “Shift” and “hyphen” key simultaneously to type an underscore. The underscore symbol shares a key with the hyphen symbol, and you can find it to the right of the “0” key on the row above the letters.

31 related questions found

How do you type an overline?

Start opening the document in Word where you want to add the overline. Position the cursor at the point where you want to put the text you’re going to overbar. Press “Ctrl + F9” on your keyboard and the field code brackets will appear.

How do you insert over in Word?

Type over text in Word for Windows

  1. In Word, choose File > Options.
  2. In the Word Options dialog box, choose Advanced.
  3. Under Editing options, do one of the following: To use Insert key to control Overtype mode, select the Use Insert key to control overtype check box.

How do you uppercase in Word?

To use a keyboard shortcut to change between lowercase, UPPERCASE, and Capitalize Each Word, select the text and press SHIFT + F3 until the case you want is applied.

What is the double underline in Word?

In Microsoft Word, double underlining helps draw extra attention to specific words or numbers, such as denoting a grand total.

What does the double underline mean in Word?

Most commonly the double blue underline appears where there are two spaces between words instead of one. There are some other grammar «errors» that may also be underlined that way. Right-click the underlined words to see what Word objects to.

What is the shortcut key of double underline?

CTRL + SHIFT + D will immediately add a double underline in Word.

How do I convert lowercase to uppercase in word?

Step 1: Open the word document. Step 2: Highlight or select the text that you want to covert from uppercase to lowercase. Step 3: Press and hold Shift + F3 keys from the keyboard. Step 4: Once you release the keys, you can see that Uppercase is converted into the Lowercase, as shown in the screenshot below.

How do you capitalize without retyping in word?

Select the text you want to change the case of, using your mouse or keyboard. On the Home tab of the Ribbon, go to the Fonts command group and click the arrow next to the Change Case button.

What is title case in Microsoft Word?

Title case means that the first letter of each word is capitalized, except for certain small words, such as articles and short prepositions.

Why can’t I type in a word document?

If text is not appearing on your screen, there is a good chance that Number Lick has been turned on by mistake. To check this, locate your «Num Lock» key, which often is the same button as «F11» on your keyboard. Press the key and then try typing. Text should appear on your screen.

What is advanced mode in Microsoft Word?

Use advanced Word options to customize editing tasks, document display, printing preferences, and more. Newer versionsOffice 2010 Office 2007. To choose your advanced Word options, select File > Options, and on the left pane, select Advanced.

What is typeover mode in Microsoft Word?

Overtype mode is an editing mode in which everything you type replaces something else in your document. When overtype mode is active and you type a letter, it replaces the letter to the right of the insertion point. When overtype mode is not active, your text is inserted where the insertion point is located.

What is Dropcap in Word?

A drop cap (dropped capital) is a large capital letter used as a decorative element at the beginning of a paragraph or section. The size of a drop cap is usually two or more lines. The following illustration shows your options for positioning a drop cap. WindowsmacOS.

What is the line above a letter called?

What Is a Diacritic, Anyway? Diacritics are marks placed above or below (or sometimes next to) a letter in a word to indicate a particular pronunciation—in regard to accent, tone, or stress—as well as meaning, especially when a homograph exists without the marked letter or letters.

What is L Ctrl?

Alternatively referred to as Control+L and C-l, Ctrl+L is a keyboard shortcut whose function differs depending on the program being. For example, in Microsoft Word, Ctrl+L is used to align text with the left edge of a document (margin). … Ctrl+L in Excel and other spreadsheet programs.

What is Ctrl F for?

CTRL-F or F3: to find a word or words on a page. CTRL-C: to copy text. CTRL-V: to paste text. CTRL-Z: to undo a command. SHIFT-CTRL-Z: to redo the command above.

What is the keyboard shortcut for word count?

Checking word count using a keyboard shortcut

You can also display the Word Count dialog box by pressing Ctrl + Shift + G.

What does a blue underline mean in Word?

Wavy blue lines that appear under text in a Word document indicate that the Format Consistency Checker is turned on and is functioning in the background as you type. The lines indicate that the Format Consistency Checker has detected an inconsistency that you may want to look at and to correct.

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

Понравилась статья? Поделить с друзьями:
  • Cross out one incorrect word in each sentence and type the correct one he was
  • Creating to do lists in excel
  • Cross out one incorrect word in each line have you
  • Creating titles in word
  • Cross out one extra word in each sentence перевод