Span Property

Microsoft Publisher Visual Basic

expression.Span

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

Example

This example creates a custom dropped capital letter that is five lines high, spans the first three characters of the paragraphs in the text range, and is raised one line above the first line.

Sub SetDropCapSpan()
    With ActiveDocument.Pages(1).Shapes(1) _
            .TextFrame.TextRange.DropCap
        .Size = 5
        .Span = 3
        .LinesUp = 1
    End With
End Sub