Share via


Span Property [Publisher 2003 VBA Language Reference]

Returns or sets a Long that represents the number of letters included in the specified dropped capital letter. Read/write.

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

Applies to | DropCap Object