Class TableOfAuthoritiesCategory (Word VBA)
The class TableOfAuthoritiesCategory represents a single table of authorities category. The TableOfAuthoritiesCategories object is a member of the TablesOfAuthoritiesCategories collection. To use a TableOfAuthoritiesCategory class variable it first needs to be instantiated, for example
Dim toa as TableOfAuthoritiesCategory
Set toa = ActiveDocument.TablesOfAuthoritiesCategories(Index:=1)
For Each
Here is an example of processing the TableOfAuthoritiesCategory items in a collection.
Dim toaTablesOfAuthoritiesCategory As TableOfAuthoritiesCategory
For Each toaTablesOfAuthoritiesCategory In ActiveDocument.TablesOfAuthoritiesCategories
Next toaTablesOfAuthoritiesCategory
Index
Returns a Long that represents the position of an item in a collection.
Dim lngIndex As Long
lngIndex = ActiveDocument.TablesOfAuthoritiesCategories(1).Index
Name
Returns the name of the specified object.
ActiveDocument.TablesOfAuthoritiesCategories(1).Name =