Selection.TypeBackspace Method
Word Developer Reference |
Deletes the character preceding a collapsed selection (an insertion point).
Syntax
expression.TypeBackspace
expression Required. A variable that represents a Selection object.
Remarks
This method corresponds to functionality of the BACKSPACE key. If the selection isn't collapsed to an insertion point, the selection is deleted.
Example
This example deletes the character preceding the insertion point (the collapsed selection).
Visual Basic for Applications |
---|
|
This example extends the selection to the end of the current paragraph (including the paragraph mark) and then deletes the selection.
Visual Basic for Applications |
---|
|
See Also