Start Property

Microsoft Publisher Visual Basic

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