Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Document.ClickAndTypeParagraphStyle Property

Office 2007
Returns or sets the default paragraph style applied to text by the Click and Type feature in the specified document. Read/write Variant.

Syntax

expression.ClickAndTypeParagraphStyle

expression   An expression that returns a Document object.

Remarks

To set the ClickAndTypeParagraphStyle property, specify either the local name of the style, an integer, or a WdBuiltinStyle constant, or an object that represents the style. For a list of the WdBuiltinStyle constants, consult the Microsoft Visual Basic Object Browser.

If the InUse property for the specified style is set to False, an error occurs.

Example

This example sets the default paragraph style applied by Click and Type to Plain Text.

Visual Basic for Applications
With ActiveDocument
    x = "Plain Text"
    If .Styles(x).InUse Then
        .ClickAndTypeParagraphStyle = x
    Else
        MsgBox "Sorry, this style is not in use yet."
    End If
End With



Community Additions

ADD
Show:
© 2015 Microsoft