UseHyperlinks Property Example

This example formats the first table of contents in the document as hyperlinks if the document is to be published to the Web.

ActiveDocument.TableOfContents(1).UseHyperlinks = True