Range.ModifyEnclosure (Word)
Adds, modifies, or removes an enclosure around the specified character or characters.
ModifyEnclosure (Style, Symbol, EnclosedText)
Selection.Range.ModifyEnclosure wdEncloseStyleLarge, _
wdEnclosureCircle, "25"
Arguments
The following argument is required
Style (Style) - The style of the enclosure. Can be any WdEncloseStyle constant.
Optional arguments
The following arguments are optional
Symbol (WdEnclosureType) - The symbol in which to enclose the specified range. Can be any WdEnclosureType constant.
Possible values are
wdEnclosureCircle | A circle. |
wdEnclosureDiamond | A diamond. |
wdEnclosureSquare | A square. |
wdEnclosureTriangle | A triangle. |
EnclosedText (String) - The characters that you want to enclose. If you include this argument, Microsoft Word replaces the specified range with the enclosed characters. If you don't specify text to enclose, Microsoft Word encloses all text in the specified range.