Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Selection.TypeBackspace Method (Word)

Deletes the character preceding a collapsed selection (an insertion point).

expression .TypeBackspace

expression Required. A variable that represents a Selection object.

This method corresponds to functionality of the BACKSPACE key. If the selection isn't collapsed to an insertion point, the selection is deleted.

This example deletes the character preceding the insertion point (the collapsed selection).

With Selection 
 .Collapse Direction:=wdCollapseEnd 
 .TypeBackspace 
End With

This example extends the selection to the end of the current paragraph (including the paragraph mark) and then deletes the selection.

With Selection 
 .EndOf Unit:=wdParagraph, Extend:=wdExtend 
 .TypeBackspace 
End With
Show:
© 2015 Microsoft