IgnoreInternetAndFileAddresses Property

Microsoft Word Visual Basic

IgnoreInternetAndFileAddresses Property

       

True if file name extensions, MS-DOS paths, e-mail addresses, server and share names (also known as UNC paths), and Internet addresses (also known as URLs) are ignored while checking spelling. Read/write Boolean.

expression.IgnoreInternetAndFileAddresses

expression   Required. An expression that returns an Options object.

Example

This example sets Microsoft Word to ignore file names and Internet addresses, and then it checks spelling in the active document.

Options.IgnoreInternetAndFileAddresses = True
ActiveDocument.CheckSpelling

This example returns the current status of the Ignore Internet and file addresses option on the Spelling & Grammar tab in the Options dialog box.

Dim blnTemp As Boolean

blnTemp = Options.IgnoreInternetAndFileAddresses