Muokkaa

Jaa


SpellingOptions.IgnoreFileNames property (Excel)

False instructs Microsoft Excel to check for Internet and file addresses; True instructs Excel to ignore Internet and file addresses when using the spell checker. Read/write Boolean.

Syntax

expression.IgnoreFileNames

expression A variable that represents a SpellingOptions object.

Example

In this example, Excel determines what the setting is for checking the spelling of Internet and file addresses and notifies the user.

Sub SpellingOptionsCheck() 
 
 If Application.SpellingOptions.IgnoreFileNames = True Then 
 MsgBox "Spelling options for checking Internet and file addresses is disabled." 
 Else 
 MsgBox "Spelling options for checking Internet and file addresses is enabled." 
 End If 
 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.