Clear Method

Microsoft Publisher Visual Basic

expression.Clear

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

Example

This example removes the dropped capital letter formatting in the specified text frame.

Sub ClearDropCap()
    ActiveDocument.Pages(1).Shapes(1).TextFrame _
        .TextRange.DropCap.Clear
End Sub