Skip to content

Latest commit

 

History

History
57 lines (31 loc) · 1.43 KB

Word.Options.AutoFormatAsYouTypeReplaceHyperlinks.md

File metadata and controls

57 lines (31 loc) · 1.43 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Options.AutoFormatAsYouTypeReplaceHyperlinks property (Word)
vbawd10.chm162988304
vbawd10.chm162988304
Word.Options.AutoFormatAsYouTypeReplaceHyperlinks
962c1b7e-9168-fe2d-ae8d-1c987b33f6ae
06/08/2017
medium

Options.AutoFormatAsYouTypeReplaceHyperlinks property (Word)

True if email addresses, server and share names (also known as UNC paths), and Internet addresses (also known as URLs) are automatically changed to hyperlinks as you type. Read/write Boolean.

Syntax

expression. AutoFormatAsYouTypeReplaceHyperlinks

expression A variable that represents an Options object.

Remarks

Word changes any text that looks like an email address, UNC, or URL to a hyperlink. Word doesn't check the validity of the hyperlink.

Example

This example enables Word to automatically replace any Internet or network paths with hyperlinks when the paths are typed.

Options.AutoFormatAsYouTypeReplaceHyperlinks = True

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

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatAsYouTypeReplaceHyperlinks

See also

Options Object

[!includeSupport and feedback]