Document.TablesOfAuthorities property (Word)
Returns a TableOfAuthorities collection that represents the tables of authorities in the specified document. Read-only.
Syntax
expression. TablesOfAuthorities
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 adds a table of authorities at the beginning of Sales.doc. The table of authorities compiles references from all categories.
Set myRange = Documents("Sales.doc").Range(Start:=0, End:=0)
Documents("Sales.doc").TablesOfAuthorities.Add Range:=myRange, _
Category:=0, Passim:=True, IncludeCategoryHeader:=True
This example updates each table of authorities in the active document.
For Each myTOA In ActiveDocument.TablesOfAuthorities
myTOA.Update
Next myTOA
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for