View.ShowSpaces Property

Word Developer Reference

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

Syntax

expression.ShowSpaces

expression   An expression that returns a View object.

Example

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

Visual Basic for Applications
  Selection.InsertBefore "    "
ActiveDocument.ActiveWindow.View.ShowSpaces = True

See Also