ShowSpaces Property

Microsoft Word Visual Basic

ShowSpaces Property

       

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

expression.ShowSpaces

expression   Required. An expression that returns a View object.

Example

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

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