CharacterWidth Property

Microsoft Word Visual Basic

Show All

CharacterWidth Property

       

Returns or sets the character width of the specified range. Read/write WdCharacterWidth.

WdCharacterWidth can be one of these WdCharacterWidth constants.
wdWidthFullWidth
wdWidthHalfWidth

expression.CharacterWidth

expression   Required. An expression that returns a Range object.

Example

This example converts the current selection to half-width characters.

Selection.Range.CharacterWidth = wdWidthHalfWidth