Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Shrinks the selection to the next smaller unit of text.
Syntax
expression. Shrink
expression A variable that represents a Selection object.
Remarks
The unit progression for this method is as follows: entire document, section, paragraph, sentence, word, insertion point.
Example
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.