Expands the specified range or selection. Returns the number of characters added to the range or selection.
Syntax
expression.Expand(Unit)
expression Required. An expression that returns a Range or Selection object.
Unit Optional Variant. The unit by which to expand the range. Can be one of the following WdUnits constants: wdCharacter, wdWord, wdSentence, wdParagraph, wdSection, wdStory, wdCell, wdColumn, wdRow, or wdTable. If expression represents a Selection object, wdLine can also be used. The default value is wdWord.