Category Property

See Also         Example         Applies To

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