Home Page (Objects) | Overview | FAQ | Reference
Applies to: TextSelection object
Performs the function of the BACKSPACE key.
Syntax
object.Backspace [count]
Parameters
object
An expression that evaluates to a TextSelection object.
count
(Optional) A Long that specifies the number of times you want to repeat this action. The default is one.
Remarks
If the user selects a contiguous range of text, the Backspace method deletes the selection.
Example
If no text is selected, the following example moves the insertion point two columns to the left, deleting the characters in those columns:
ActiveDocument.Selection.Backspace 2