Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Document.TablesOfAuthoritiesCategories Property

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



expression   A variable that represents a Document object.


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


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

Visual Basic for Applications
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.

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

Community Additions

© 2015 Microsoft