Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.06 KB

Word.Find.MatchCase.md

File metadata and controls

51 lines (31 loc) · 1.06 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Find.MatchCase property (Word)
vbawd10.chm162529294
vbawd10.chm162529294
Word.Find.MatchCase
c52c1512-9935-c8a4-4211-5b847771dbe9
06/08/2017
medium

Find.MatchCase property (Word)

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

Find Object

[!includeSupport and feedback]