MatchAlefHamza Property
Sets or returns a Boolean representing whether or not a search operation will match alefs and hamzas. Read/write.
expression.MatchAlefHamza
expression Required. An expression that returns a FindReplace object.
Remarks
This property may not be available depending on the language enabled on your operating system. The default value is False.
Returns Access denied if Arabic is not enabled.
Examples
This example finds the first occurrence of the word "إخرجنإ" in an Arabic document matching alefs and hamzas.
Dim objDocument As Document
Set objDocument = ActiveDocument
With objDocument.Find
.Clear
.FindText = "إخرجنإ"
.MatchAlefHamza = True
.Execute
End With
This example follows from the previous one except that alef hamzas will not be matched. Therefore the words "إخرجنإ" or "خرجن" will both be found because alefs and hamzas will be ignored.
"إخرجنإ".
Dim objDocument As Document
Set objDocument = ActiveDocument
With objDocument.Find
.Clear
.FindText = "إخرجنإ"
.MatchAlefHamza = False
.Execute
End With