Borders Disappear on Shaded Table Rows

Written by Allen Wyatt (last updated October 1, 2022)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021

Kimberly has a document with several tables in it, each of which uses single-line borders around the table and between each row and column. In those tables, some rows are also shaded. When she prints to a PDF document, some of the lines around cells within the shaded rows disappear. If she removes the shading and regenerates the PDF, the border lines appear properly. Kimberly wonders if there is a workaround for this problem.

There are two things at work here when it comes to your PDF—what you see on the screen and what you see on a printout.

The first thing is to check what you see on the screen. When you open a PDF file in a viewer of some type, what you see is seldom at full resolution. This has to do with the resolution of your monitor and the zoom factor used to display the PDF file. As the zoom factor of your PDF document goes down, the PDF viewer will leave out details of the document. Most of the time this doesn't matter a whole lot—a dot here or a line there won't be noticeable. The exception is if the dots or lines being left out are horizontal and happen to be the dots and lines used for your borders.

You can check if this "leaving out" issue is happening by zooming in on your PDF. Go to a full 100% zoom factor and see if the previously missing border lines are there. If they are not visible, then zoom in even further (perhaps to 150% or even 200%) and see if they reappear. If so, then the problem definitely isn't with Word; it is simply an artifact of how your PDF viewer displays the PDF file.

Now for the other possibility—your printout. If you print out your PDF file and notice that some horizontal lines are missing, then the issue may be with your printer driver and/or printer. Some printers, particularly when printing shading, will exhibit what is called a moire pattern. This simply means that the size of the dots used by the printer to creating the shading effect can interfere with the desired output. This is especially true if the shading looks fine on the screen (in the PDF), but looks muddy or muddled on the printer. This is because the display can show the shading using smaller dots than what the printer can do. If you determine that the missing border lines appear only on the printout of the PDF, then there is no way around this short of using a different printer.

In fact, that brings up something you can do to test out the potential cause—use different equipment. If you have access to a different computer system (perhaps a coworker's system) that has a much higher-quality display, then open the PDF on that system and check out if the borders are still missing. Similarly, if you have access to a system with a higher-quality printer, then try printing the PDF on that printer and see if there is a noticeable improvement in what you see.

If, after checking both the display and the printer, you determine that the problem is actually with what is being generated by Word, then you'll need to figure out if the problem is with how you are creating the PDF. Many people create the PDF file by using the export-to-PDF capability that Microsoft relatively recently added to Word. That, however, will produce a different PDF file than you would get if you were using a third-party PDF utility of some type. It should also be noted that you are likely to get the highest-quality PDF file if you use Adobe Acrobat to generate the PDF file.

If you have access to systems that utilize different methods of creating the PDF files from your Word document, then you should experiment with those different methods and check your results. You may be surprised at the differences in the final PDF.

If there is no appreciable difference in how the PDF looks when using the different generation methods, then there is one last thing to try out. Go back to your Word document and change the percentage of shading applied to your table rows. If, for instance, you are using a 20% shading pattern, then change to a 15% shading pattern and see if that changes your output quality. This is closely related to the printer discussion earlier and the concept of moire patterns. When you change the percentage of shading, you are changing the dot pattern used to produce that shading. A different dot pattern will affect (or eliminate) the interference (moire) pattern created when the dots are displayed or printed.

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

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. ...


Digital Signatures for Macros

The security features built into Excel allow you to digitally sign your macros so that users can rest assured that they ...

Discover More

Finding Columns of a Certain Width

If you need to find out how many columns are set to be a specific width, you'll need a macro to help determine the info. ...

Discover More

Strip Trailing Spaces

If you get tired of documents that always seem to have extra spaces at the end of lines, here's a quick way to get rid of ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Table Won't Flow to Second Page

Have you ever created a table that never seems to flow to a second page, even when it should? This could be caused by any ...

Discover More

Noting Table Rows Containing a Character

If you want to have Word highlight rows in a table that contain a certain character, you need to resort to using a macro. ...

Discover More

Table Borders Won't Print

Print a table and you may be surprised if it has no borders. That could be because you actually have the borders turned ...

Discover More

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

View most recent newsletter.


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 five less than 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)

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.


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.