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.
Sets or returns a Boolean that represents the case sensitivity of the search operation. Read/write.
Syntax
expression.MatchCase
expression A variable that represents a FindReplace object.
Return value
Boolean
Remarks
The default value for MatchCase is False.
Example
This example selects the first occurrence of the word "factory" regardless of case.
With ActiveDocument.Find
.Clear
.MatchCase = False
.FindText = "factory"
.Execute
End With
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.