Compartilhar via


TableOfContents.UseHyperlinks Property

Word Developer Reference

Returns or sets whether entries in a table of contents should be formatted as hyperlinks when publishing to the Web. Read/write Boolean.

Syntax

expression.UseHyperlinks

expression   Required. A variable that represents a TableOfContents collection.

Example

This example formats the first table of contents in the document using hyperlinks.

Visual Basic for Applications
  ActiveDocument.TableOfContents(1).UseHyperlinks = True

See Also