Find.MatchCase Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

True if the find operation is case sensitive. The default is False. Read/write Boolean.

expression .MatchCase

expression An expression that returns a Find object.

Use the Text property of the Find object or use the FindText argument with the Execute method to specify the text to be located in a document.

This example selects the next occurrence of the word "library" in the selection, regardless of the case.

With Selection.Find 
 .MatchWholeWord = True 
 .MatchCase = False 
 .Execute FindText:="library" 
End With


Other resources