Table of contents
Collapse the table of content
Expand the table of content

TextRange.Start Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns or sets a Long that represents the starting character position of a text range. Read/write.


expression. Start

_expression_A variable that represents a TextRange object.

Return Value



If this property is set to a value larger than that of the End property, the End property is set to the same value as that of the Start property.


This example makes the first 15 characters of the selected text range bold. This example assumes that text is selected in the active publication.

Sub SetSelectionRange() 
 With Selection 
 With .TextRange 
 .Start = 0 
 .End = 15 
 .Font.Bold = msoTrue 
 End With 
 End With 
End Sub
© 2018 Microsoft