KeepEntryFormatting Property

Microsoft Word Visual Basic

KeepEntryFormatting Property

       

True if formatting from table of authorities entries is applied to the entries in the specified table of authorities. Corresponds to the \f switch for a Table of Authorities (TOA) field. Read/write Boolean.

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