KeepEntryFormatting Property

Microsoft Word Visual Basic

expression.KeepEntryFormatting

expression    Required. An expression that returns a TableOfAuthorities object.

Example

This example removes the formatting from the entries in the first table of authorities of the active document (the \f switch is added to the TOA field).

If ActiveDocument.TablesOfAuthorities.Count >= 1 Then
    ActiveDocument.TablesOfAuthorities(1) _
        .KeepEntryFormatting = False
End If