Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
True if the find operation is case-sensitive. The default is False. Read/write Boolean.
Syntax
expression. MatchCase
expression An expression that returns a 'Find' object.
Remarks
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.
Example
This example selects the next occurrence of the word "library" in the selection, regardless of the case.
With Selection.Find
.ClearFormatting
.MatchWholeWord = True
.MatchCase = False
.Execute FindText:="library"
End With
See also
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.