Rediger

Del via


Document.TablesOfAuthoritiesCategories property (Word)

Returns a TablesOfAuthoritiesCategories collection that represents the available table of authorities categories for the specified document. Read-only.

Syntax

expression. TablesOfAuthoritiesCategories

expression A variable that represents a Document object.

Remarks

For information about returning a single member of a collection, see Returning an object from a collection.

Example

This example changes the name of the eighth item in the table of authorities category list for the active document.

ActiveDocument.TablesOfAuthoritiesCategories(8).Name = "Other case"

This example displays the name of the last table of authorities category if the category name has been changed.

last = ActiveDocument.TablesOfAuthoritiesCategories.Count 
If ActiveDocument.TablesOfAuthoritiesCategories(last) _ 
 .Name <> "16" Then 
 MsgBox ActiveDocument.TablesOfAuthoritiesCategories(last).Name 
End If

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.