AutoFormatDeleteAutoSpaces Property Example

This example sets Microsoft Word to automatically delete spaces between Japanese and Latin text, and then it formats the current selection.

Options.AutoFormatDeleteAutoSpaces = True
Selection.Range.AutoFormat