IgnoreInternetAndFileAddresses Property Example

This example sets 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.

temp = Options.IgnoreInternetAndFileAddresses