Range.FitTextWidth Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets the width (in the current measurement units) in which Microsoft Word fits the text in the current selection or range. Read/write Single.

expression .FitTextWidth

expression Required. A variable that represents a Range object.

This example fits the current selection into a space five centimeters wide.

Selection.FitTextWidth = CentimetersToPoints(5)

Concepts

Other resources

Show: