Written by Allen Wyatt (last updated January 13, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021
Randy works with tables regularly in his documents. It is not uncommon for cells in a table to have trailing spaces. Randy wonders if there is a way to find and delete any trailing spaces in a table.
Perhaps the easiest way to get rid of trailing spaces in table cells is to follow these steps:
This process sounds simple, but there are a couple of caveats to keep in mind. First of all, you cannot select the entire table in step 1. If you do so, then Ctrl+E (step 2) centers the table, not the contents of the cells within the table. If you want to get rid of trailing spaces in all cells, then make sure you select just the cells and not the end-of-row markers that appear to the right of the rightmost column in the table.
Another caveat is to understand that if you are using styles for the text within the table, these steps can mess up those styles because you are applying explicit formatting (centering and then left justifying) over the top of whatever the style may specify for the text. So, if you are using styles, you may want to press Ctrl+Q instead of Ctrl+L in step 3. This returns the paragraph formatting within the table to whatever is appropriate for the styles that are applied to the text in the table.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9994) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021.
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!
Left-justified tables are great for many document designs, but you may want instead to center a table between the margins ...
Discover MoreFor those times when you remove the borders from your tables, Word provides a way that you can display non-printing ...
Discover MoreIf you need to quickly display the Column tab of the Table Properties dialog box, here are some handy tricks you can use. ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2024-01-13 10:51:19
Ann Olmsted
Thank you! I've been looking for a simple way to remove those trailing spaces quickly for a very long time.
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments