by Allen Wyatt
(last updated March 7, 2018)
Goldie wants to know if there is a way to underline table cells but not underline the spacing between cells. This would effect a break in the underlining between cells and not have just one continuous line across all the cells. (Goldie is referring to the actual cells here, not the words within the cells.) She added .05 spacing between the cells because she thought this would do it, but instead it just increased the length of the underlining for each cell so that the lines meet and create on big line.
The key to successfully doing this is to remember that there is a difference between cell borders and borders applied to contents within a cell. This means that there are multiple ways you can go about doing the formatting. Assuming you already have a table, follow these steps to see one way:
Figure 1. The Borders tab of the Borders and Shading dialog box.
Word applies a bottom border the width of the text area within each cell. If you later adjust the cell margins (as Goldie did), the width of the text within the cell changes, as does the width of the border.
For simple tables, this approach works great. The problem occurs when you have differing amounts of text in the cells in the table. Since the border always appears at the bottom of the text, this can lead to some funky results. (See Figure 2.)
Figure 2. Applying a bottom border to the paragraphs within a cell.
Of course, you could get around this funkiness a bit by formatting the cell contents so that they all are vertically aligned to the bottom of each cell. Besides moving all the text to the bottom of the cell (vertically), this also moves all the lines down to the bottom of each cell.
If you do a bit of inspecting in the Borders and Shading dialog box, you'll see that borders can be applied to Text, Paragraph, Cell, or Table. The Paragraph option is the only one that behaves as described so far. Further, it is the only one that responds to changes in the cell margins.
If, instead, you want the actual border to apply to the cells themselves, then the only way we've discovered to get the desired effect is to add "spacer columns" between your data columns. These columns can be very thin, but the idea is that they wouldn't contain any information at all—you would just use them to provide a buffer area between columns that would otherwise be abutting. You can then add bottom borders to all the cells in the table, but remove them from the cells in the spacer columns.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13179) applies to Microsoft Word 2007, 2010, and 2013.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
When you have a long table that extends over multiple pages, Word allows you to specify one or more rows to be repeated ...Discover More
When the last row displayed on a page doesn't show the borders you want, it can be confusing to figure out how to get ...Discover More
If you want to resize the width of your table columns, you can do it using a mouse, but you can get more precise widths ...Discover More
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.