Options.IgnoreInternetAndFileAddresses Property

Word Developer Reference

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.

Syntax

expression.IgnoreInternetAndFileAddresses

expression   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.

Visual Basic for Applications
  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.

Visual Basic for Applications
  Dim blnTemp As Boolean

blnTemp = Options.IgnoreInternetAndFileAddresses

See Also