TableOfAuthorities.IncludeSequenceName Property

Word Developer Reference

Returns or sets the Sequence (SEQ) field identifier for a table of authorities. Read/write String.

Syntax

expression.IncludeSequenceName

expression   An expression that returns a TableOfAuthorities object.

Remarks

Corresponds to the \s switch for a Table of Authorities (TOA) field.

Example

This example inserts a table of authorities at the beginning of the active document and then formats the table to include the Chapter sequence field number before the page number (for example, "Chapter 2-14").

Visual Basic for Applications
  Dim rngTemp As Range
Dim toaTemp As TableOfAuthorities

Set rngTemp = ActiveDocument.Range(Start:=0, End:=0) Set toaTemp = _ ActiveDocument.TablesOfAuthorities.Add(Range:=rngTemp)

toaTemp.IncludeSequenceName = "Chapter"

This example returns the sequence name for the first table of authorities.

Visual Basic for Applications
  Dim strSequence As String

strSequence = _ ActiveDocument.TablesOfAuthorities(1).IncludeSequenceName

See Also