Partager via


Range.Cut Method

Cuts the object to the Clipboard or pastes it into a specified destination.

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

Syntax

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

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

Parameters

  • Destination
    Type: System.Object

    Optional Object. The range where the object should be pasted. If this argument is omitted, the object is cut to the Clipboard.

Return Value

Type: System.Object

Remarks

The cut range must be made up of adjacent cells.

Only embedded charts can be cut.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace