Selection.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. Read/write Single.

expression .FitTextWidth

expression A variable that represents a Selection object.

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

Selection.FitTextWidth = CentimetersToPoints(5)
Show: