Start Property.Start Property

Publisher Developer Reference

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

Syntax

expression.Start

expression   A variable that represents a Start Property object.

Return Value
Long

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

Example

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

Visual Basic for Applications
  Sub SetSelectionRange()
    With Selection
        With .TextRange
            .Start = 0
            .End = 15
            .Font.Bold = msoTrue
        End With
    End With
End Sub

See Also