_Application.CutCopyMode Property

Returns or sets the status of Cut or Copy mode.

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

Syntax

'Declaration
Property CutCopyMode As XlCutCopyMode
    Get
    Set
'Usage
Dim instance As _Application
Dim value As XlCutCopyMode

value = instance.CutCopyMode

instance.CutCopyMode = value
XlCutCopyMode CutCopyMode { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlCutCopyMode

Remarks

XlCutCopyMode can be one of these XlCutCopyMode constants.

Return value

Description

False

Not in Cut or Copy mode

xlCopy

In Copy mode

xlCut

In Cut mode

Set value

Description

False

Cancels Cut or Copy mode and removes the moving border.

True

Cancels Cut or Copy mode and removes the moving border.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace