AutoFormatDeleteAutoSpaces Property

Microsoft Word Visual Basic

AutoFormatDeleteAutoSpaces Property

       

True if spaces inserted between Japanese and Latin text will be deleted when Microsoft Word formats a document or range automatically. Read/write Boolean.

expression.AutoFormatDeleteAutoSpaces

expression   Required. An expression that returns an Options object.

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