AutoFormatReplaceHyperlinks Property Example

This example enables replacement of any Internet or network paths with hyperlinks, and then it formats the selection automatically.

Options.AutoFormatReplaceHyperlinks = True
Selection.Range.AutoFormat

This example returns the status of the Internet and network paths with hyperlinks option on the AutoFormat tab in the AutoCorrect dialog box (Tools menu).

temp = Options.AutoFormatReplaceHyperlinks