View.ShowSpaces property (Word)
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
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.