Muokkaa

Jaa


Range.Select method (Word)

Selects the specified range.

Syntax

expression.Select

expression Required. A variable that represents a Range object.

Example

This example selects the first paragraph in the active document.

Sub SelectParagraph() 
 ActiveDocument.Paragraphs(1).Range.Select 
 Selection.Font.Bold = True 
End Sub

See also

Range Object

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.