Hiding Table Rows on a Printout

Written by Allen Wyatt (last updated December 25, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


3

Shiva has a document that has several tables. Periodically he needs to hide certain rows in a table, so they do not appear on the printout. He wonders if there is a way to hide a row so that it won't print.

There are generally three things that people try in order to hide table rows: changing font color, changing row size, and hiding text. Of these three, you'll find that the last one provides the best results. Let me go over the other two quickly, however.

You can select a row in a table and change the font color to white. This effectively makes your text disappear on printouts, as white-on-white is not visible. The drawback to this approach (and it is a major one in my book) is that the row itself is not hidden; it only affects the text in the row.

The second approach is to change row size to some very, very small value. If you use the tools on the ribbon to implement this approach, you can set the height of any selected row to 0.1 inches. This is, indeed, small, but it is not small enough—the row is still visible on printouts. If you use a macro you can set the row height to even smaller values, but that still won't make the row disappear.

Finally, you can use hidden text to actually hide a row. In order to do this, you'll want to make sure that you have non-printing characters displayed in your document. (That is the fastest way to understand what is going on.) You do that by displaying the Home tab of the ribbon and clicking the Show/Hide tool—it looks like a backwards P. When displayed, you'll be able to see the non-printing characters in your table and in the entire document. (See Figure 1.)

Figure 1. Non-printing characters displayed in a document.

Now you should select the row you want to hide. Simply move the mouse pointer into the margin at the left of the row. If it is positioned correctly, the mouse pointer will be pointing up and to the right. Click once, and the row is selected. (See Figure 2.)

Figure 2. A row is selected.

The important thing to note here is that the non-printing characters are selected, as well, particularly the end-of-row marker at the very right side of the row. (This is why turning on the display of non-printing characters is so helpful—it allows you to see that you have, indeed, selected them.) If you don't make sure the end-of-row marker is selected, then you won't be able to truly hide the entire row.

Now you should press Ctrl+D to display the Font tab of the Font dialog box. (See Figure 3.)

Figure 3. The Font tab of the Font dialog box.

You can ignore all the controls in the dialog box except one—the Hidden check box. (The check box isn't hidden; it is named "Hidden.") You want to click this so that a check mark appears in the box. This turns on the Hidden attribute for whatever you have selected in the document. With the check box selected, click OK to dismiss the Font dialog box. You should notice a rather subtle change in your document. (See Figure 4.)

Figure 4. Hidden text is marked in the document (see the second row).

Note that all of the text in the row you selected now has faint dotted lines under it. This is Word's tell-tale sign that the text has the Hidden attribute turned on. You can see it on the screen because you are displaying non-printing characters. If you turn off the non-printing characters (again, click Show/Hide on the Home tab of the ribbon), it is very possible that the row will disappear entirely.

At this point, there is a very important distinction to understand—the display and printing of hidden text is handled independently of each other in Word. In other words, you can print (or not print) the hidden text regardless of whether it is displayed on the screen. To exercise your control, display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 or a later version, display the File tab of the ribbon and then click Options.) At the left side of the dialog box click Display. (See Figure 5.)

Figure 5. The Display options of the Word Options dialog box.

Note that there are two check boxes of interest here—Hidden Text and Print Hidden Text. The first check box controls the display of hidden text and the second controls the printing of hidden text. Most people find it helpful to turn on the Hidden Text control and clear the Print Hidden Text control. This allows you to see the hidden text on the screen (again, with the faint dotted lines under it) and yet not have the hidden text appear on your printouts (as Shiva desires).

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13679) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Non-breaking Em Dashes

Need an em dash to be "sticky" on both ends of the dash? Word doesn't provide such formatting, but there are a few ...

Discover More

Blank Lines before Tables

Adding a blank line before your table is easy, but Word's behavior as you attempt to make the insert can depend on where ...

Discover More

Removing All Bookmarks

Need to get rid of a lot of bookmarks all at once? Word doesn't provide a way to do it, but you can use the short macro ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Formatting an ASCII Table with Tabs

If you get a document from a coworker that has tabs used to line up tabular information, you might want to change that ...

Discover More

Filling Table Cells with a Macro

Want to stuff a value into each cell of a table? You can either type the value over and over and over again, or you can ...

Discover More

Centering a Table

Left-justified tables are great for many document designs, but you may want instead to center a table between the margins ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2023-11-03 22:49:22

Erik Eilertsen

Even easier to hide table contents is to save a second version of the document with an appropriate indicator in the title.
Then, in the copy, delete those elements of the table you want to hide/remove.
Print the now-amended copy of the document.
Very much quicker and simpler because you have the original as a MASTER copy and can repeat the process as often as you need to.


2019-09-29 21:55:01

Jim Strzoda

Regarding the problem that Shankar Saran is experiencing: is he using the Draw commands in MS Word? I have been creating engineering drawings for years with that method and have not had any problems converting doc or docx drawings to pdf.


2019-09-28 08:51:42

Shankar Saran

I have made 317 engineering drawings for my technical book in MS Word for publishing. The publishers are now telling to convert all text to pdf for printing. When doing so, all the arrow heads made in 2 elements are getting deformed and angular arcs with arrowheads are looking horrible. Is there a method to solve this major problem?
By first pasting in MS Paint then copy pasting in original is better but still lines are too thick. URGENT solution is requested.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.