Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Range.FitTextWidth Property (Word)

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)
Show:
© 2016 Microsoft