Selection.Shrink Method (Word)

Office 2013 and later

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 
 MsgBox "You need to select some text." 
End If