Compartilhar via


TablesOfAuthorities.MarkAllCitations Method (Word)

Inserts a TA (Table of Authorities Entry) field after all instances of the ShortCitation text.

Syntax

expression .MarkAllCitations(ShortCitation, LongCitation, LongCitationAutoText, Category)

expression Required. A variable that represents a TablesOfAuthorities collection.

Parameters

Name

Required/Optional

Data Type

Description

ShortCitation

Required

String

The short citation for the entry as it will appear in the Mark Citation dialog box (Insert menu, Index and Tables command).

LongCitation

Optional

Variant

The long citation string for the entry as it will appear in the table of authorities.

LongCitationAutoText

Optional

Variant

The AutoText entry name that contains the text of the long citation as it will appear in the table of authorities.

Category

Optional

Variant

The category number to be associated with the entry: 1 corresponds to the first category in the Category box in the Mark Citation dialog box, 2 corresponds to the second category, and so on.

Example

This example marks all instances of "Forrester v. Craddock" in the active document with a TA field that references the "Forrester v. Craddock, 51 Wn. 2d 315 (1957)" citation.

ActiveDocument.TablesOfAuthorities.MarkAllCitations _ 
 ShortCitation:="Forrester v. Craddock", Category:=1, _ 
 LongCitation:="Forrester v. Craddock, 51 Wn. 2d 315 (1957)"

See Also

Concepts

TablesOfAuthorities Collection Object

TablesOfAuthorities Object Members