Category Property
Applies To
TableOfAuthorities object.
Description
Returns or sets the category of entries to be included in a table of authorities. Corresponds to the \c switch for a TOA field. Values 1 through 16 correspond to the items in the Category list on the Table of Authorities tab in the Index and Tables dialog box. Read/write Long.
Note The number 0 (zero), which corresponds to all categories, cannot be used with this property. You can, however, use 0 to specify all categories when you're inserting a table of authorities. The following example inserts a table of authorities for all categories.
ActiveDocument.TablesOfAuthorities.Add Range:=Selection.Range, Category:=0
See Also
Add method (TablesOfAuthorities collection), IncludeCategoryHeader property.
Example
This example formats the first table of authorities in the active document to include all citations in the first category (by default, the Cases category).
If ActiveDocument.TablesOfAuthorities.Count >= 1 Then
ActiveDocument.TablesOfAuthorities(1).Category = 1
End If