Share via


Start Property [Publisher 2003 VBA Language Reference]

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

expression.Start

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

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 Start property.

Example

This example bolds the first fifteen characters of the selected text range. 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

Applies to | TextRange Object