Find.MatchByte Property

Word Developer Reference

True if Microsoft Word distinguishes between full-width and half-width letters or characters during a search. Read/write Boolean.

Syntax

expression.MatchByte

expression   A variable that represents a Find object.

Example

This example searches for the term "mikurosofatomikurosofatomikurosofatomikurosofatomikurosofatomikurosofatomikurosofato" in the specified range without distinguishing between full-width and half-width characters.

Visual Basic for Applications
  With Selection.Find
    .ClearFormatting
    .MatchWholeWord = True
    .MatchByte = False
    .Execute FindText:="mikurosofatomikurosofatomikurosofatomikurosofatomikurosofatomikurosofatomikurosofato"
End With

See Also