MatchByte Property

Microsoft Word Visual Basic

MatchByte Property

       

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

Example

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

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