Class TableOfAuthorities (Word VBA)

The class TableOfAuthorities represents a single table of authorities in a document (a TOA field). The TableOfAuthorities object is a member of the TablesOfAuthorities collection. The TablesOfAuthorities collection includes all the tables of authorities in a document.

To use a TableOfAuthorities class variable it first needs to be instantiated, for example

Dim toas as TableOfAuthorities
Set toas = ActiveDocument.TablesOfAuthorities(Index:=1)

The following procedures can be used to set variables of type TableOfAuthorities: TablesOfAuthorities.Add and TablesOfAuthorities.Item.

For Each

Here is an example of processing the TableOfAuthorities items in a collection.

Dim toa As TableOfAuthorities 
For Each toa In ActiveDocument.TablesOfAuthorities 
 toa.IncludeCategoryHeader = True 
Next toa

Methods

Delete - Deletes the specified table of authorities.

Update - Updates the entries shown in a table of authorities.

Properties

Bookmark returns or sets the name of the bookmark from which to collect table of authorities entries.

Category returns or sets the category of entries to be included in a table of authorities.

EntrySeparator returns or sets the characters (up to five) that separate a table of authorities entry and its page number.

IncludeCategoryHeader true if the category name for a group of entries appears in the table of authorities.

IncludeSequenceName returns or sets the Sequence (SEQ) field identifier for a table of authorities.

KeepEntryFormatting true if formatting from table of authorities entries is applied to the entries in the specified table of authorities.

PageNumberSeparator returns or sets the characters (up to five) that separate individual page references in a table of authorities.

PageRangeSeparator returns or sets the characters (up to five) that separate a range of pages in a table of authorities.

Passim true if five or more page references to the same authority are replaced with "Passim.

Range returns a Range object that represents the portion of a document that is contained within a table of authorities.

Separator returns or sets up to five characters that appear between the sequence number and the page number in a table of authorities.

TabLeader returns or sets the leader character that appears between entries and their associated page numbers in a table of authorities.

Range - Represents a contiguous area in a document. Each Range object is defined by a starting and ending character position.