Displaying Only Some Non-Printing Characters

Written by Allen Wyatt (last updated July 26, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


1

Timothy always encourages using Show/Hide to reveal non-printing characters. However, he finds it difficult to distinguish the space glyph from a hyphen. He knows he can use the Word Options dialog box to choose which marks to always show on the screen. That's not as quick a toggle as Ctrl+Shift+8, however. Timothy wonders if there is a way to never show certain non-printing characters such as the space?

The short answer is no, there isn't a way to do this. However, there are workarounds you can try.

First of all, display the Word Options dialog box displaying the File tab of the ribbon and clicking Options. (If you are using Word 2007, click the Office button and then click Word Options.) At the left side of the dialog box, click Display. (See Figure 1.)

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

The part you want to pay attention to is in the middle of the dialog box, under the heading "Always show these formatting marks on the screen." Notice that there are six check boxes under this heading, with the last one being "Show all formatting marks."

It is this last check box that is controlled by the Ctrl+Shift+8 shortcut. Technically, the Ctrl+Shift+8 shortcut is a quick way to toggle the Show/Hide tool on the Home tab of the ribbon, and it is that tool that controls this check box.

The other five check boxes are used to indicate which non-printing characters you want displayed all the time, regardless of the state of the Show/Hide tool. In other words, the settings in the first five check boxes only have meaning if the last check box is turned off.

What does this portend as a workaround for Timothy's case? It is possible to turn on all of the first five check boxes, except the one for Spaces, and he will see what he wants on-screen, as long as the last check box is cleared. The moment, though, that the last check box is selected (or the Show/Hide tool turned on), then Timothy will see spaces be marked on-screen with the glyph he finds confusing. Turn off Show/Hide, and Timothy will again see spaces be unmarked, and all the remaining non-printing characters displayed.

If you want a workaround that essentially replaces what Ctrl+Shift+8 does, you can only accomplish it with a macro. The following will do:

Sub SetDisplayMarks()
    With ActiveWindow.View
        If .ShowTabs Then
            .ShowTabs = False
            .ShowSpaces = False
            .ShowParagraphs = False
            .ShowHyphens = False
            .ShowHiddenText = False
            .ShowObjectAnchors = False
            .ShowAll = False
        Else
            .ShowTabs = True
            .ShowSpaces = False
            .ShowParagraphs = True
            .ShowHyphens = True
            .ShowHiddenText = True
            .ShowObjectAnchors = True
            .ShowAll = False
        End If
    End With
End Sub

The macro uses the setting of the .ShowTabs property to determine if marks are displayed or not. That way the macro can function as a toggle—it will turn on or off Timothy's desired settings each time it is run.

The next step, of course, is to assign the macro to the Ctrl+Shift+8 shortcut key, thereby overriding the normal behavior of the shortcut, which is to toggle the .ShowAll property. Here are the steps to set the shortcut key:

  1. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. At the left side of the dialog box select either the Customize option (Word 2007) or the Customize Ribbon option (Word 2010 and later versions).
  3. Click the Customize button. Word displays the Customize Keyboard dialog box. (See Figure 2.)
  4. Figure 2. The Customize Keyboard dialog box.

  5. Scroll to the bottom of the Categories list and choose Macros. The macros currently available should show up in the Macros list at the right side of the dialog box.
  6. In the Macros list, choose the SetDisplayMarks macro. (If you used a different macro name, choose that macro instead.)
  7. Position the insertion point in the Press New Shortcut Key text box.
  8. Press Ctrl+Shift+8. Just below the Current Keys text box you should see the name of the active Word function that is currently using this shortcut—ShowAll.
  9. Click on the Apply button. Word clears the Press New Shortcut Key text box and places the shortcut key from step 7 in the Current Keys list.
  10. Click on Close to dismiss the Customize Keyboard dialog box.
  11. Click on Cancel to dismiss the Word Options dialog box.

That's it. The Ctrl+Shift+8 shortcut will now run the macro and act as a toggle to satisfy Timothy's needs for displaying non-printing characters.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13321) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, 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

Reliable Display of X-Y Values in a Chart

Excel can display both values and names for data points in a chart, when you hover the mouse over the data point. This ...

Discover More

Using Print Preview

The Print Preview feature can be a great way to see how something will look on paper without actually using any paper. ...

Discover More

Converting Individual Endnotes and Footnotes

Word makes it easy to convert all your footnotes to endnotes and vice versa. You may want to only convert a couple of ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!

More WordTips (ribbon)

Absolutely Getting Rid of Formatting

Need to get rid of the formatting applied to a bunch of text? One of the easiest ways to do this is to use Notepad in ...

Discover More

Italic Typing Doesn't Stay Italic

If you turn explicit formatting on and off as you type, you may notice some quirky behavior in Word. This tip examines ...

Discover More

Making a List of Words Italic

You can use Find and Replace to change the attributes of text in your document. When you want to make changes to lots and ...

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 four less than 6?

2025-08-15 10:41:46

Timothy J. McGowan

Excellent! Just what this brain needed. Thanks, Allen!


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.