Shrink Method
TOC
Collapse the table of content
Expand the table of content

Selection.Shrink Method (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.

Shrinks the selection to the next smaller unit of text.

expression .Shrink

expression A variable that represents a Selection object.

The unit progression for this method is as follows: entire document, section, paragraph, sentence, word, insertion point.

This example collapses the selected text to the next smaller unit of text.

If Selection.Type = wdSelectionNormal Then 
 Selection.Shrink 
Else 
 MsgBox "You need to select some text." 
End If
Show:
© 2016 Microsoft