Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Selection.Shrink Method (Word)

Published: July 16, 2012

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.