Compartilhar via


Range.Copy Method

Word Developer Reference

Copies the specified range to the Clipboard.

Syntax

expression.Copy

expression   Required. A variable that represents a Range object.

Example

This example copies the first paragraph in the active document and pastes it at the end of the document.

Visual Basic for Applications
  ActiveDocument.Paragraphs(1).Range.Copy
Set myRange = ActiveDocument.Range _
    (Start:=ActiveDocument.Content.End - 1, _
    End:=ActiveDocument.Content.End - 1)
myRange.Paste

See Also