View.ShowSpaces Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

True if space characters are displayed. Read/write Boolean.

expression .ShowSpaces

expression An expression that returns a View object.

This example inserts spaces before the selection and displays space characters in the active window.

Selection.InsertBefore " " 
ActiveDocument.ActiveWindow.View.ShowSpaces = True

Concepts

Other resources

Show: