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


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

Text Prints as Bold, but Displays as Regular

What to do when text looks one way on the screen but prints a different way? This tip provides several different ...

Discover More

Sorting by Colors

Need to sort your data based on the color of the cell or the color of the text within the cell? Excel makes it easy to do ...

Discover More

Locking the Zoom Factor

When using alternative pointing devices with a computer (such as a laptop), Excel may not always behave in helpful ways. ...

Discover More

Do More in Less Time! An easy-to-understand guide to the more advanced features available in the Microsoft 365 version of Word. Enhance the quality of your documents and boost productivity in any field with this in-depth resource. Complete your Word-related tasks more efficiently as you unlock lesser-known tools and learn to quickly access the features you need. Check out Microsoft 365 Word For Professionals For Dummies today!

More WordTips (ribbon)

Squeezing Lines Together

The space between lines of text is technically referred to as "leading." This tip examines various ways you can adjust ...

Discover More

Stubborn Highlighting

When you make extensive edits to a document and those edits include changing the formatting of numbered or bulleted ...

Discover More

Section Breaks Changing On Their Own

Sometimes Word does things that just don't make sense. For instance, have you ever inserted a section break into your ...

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 eight minus 3?

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.

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.