Partager via


Range.Copy Method

Copies the range to the specified range or to the Clipboard.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Copy ( _
    Destination As Object _
) As Object
'Usage
Dim instance As Range
Dim Destination As Object
Dim returnValue As Object

returnValue = instance.Copy(Destination)
Object Copy(
    Object Destination
)

Parameters

  • Destination
    Type: System.Object

    Optional Object. Specifies the new range to which the specified range will be copied. If this argument is omitted, Microsoft Excel copies the range to the Clipboard.

Return Value

Type: System.Object

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace