Muokkaa

Jaa


Range.Copy method (Word)

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.

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

See also

Range Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.