ReplaceSelection Property Example

This example sets Word to add the result of typing or pasting before the selection, leaving the selection intact.

Options.ReplaceSelection = False

This example returns the status of the Typing replaces selection option on the Edit tab in the Options dialog box.

temp = Options.ReplaceSelection