In This Topic
Gets a boolean value indicating whether command can paste data from a range(s) to the specified worksheet range(s).
Syntax
'Declaration
Public Shared Function CanPaste( _
ByVal As IWorksheet, _
ByVal () As Reference, _
ByVal As IWorksheet, _
ByVal () As Reference, _
ByVal As PasteType, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean _
) As Boolean
'Usage
Dim source As IWorksheet
Dim sourceRefs() As Reference
Dim target As IWorksheet
Dim targetRefs() As Reference
Dim pasteType As PasteType
Dim isCopying As Boolean
Dim uiAction As Boolean
Dim isTranspose As Boolean
Dim value As Boolean
value = ClipboardPasteCommand.CanPaste(source, sourceRefs, target, targetRefs, pasteType, isCopying, uiAction, isTranspose)
Parameters
- source
- sourceRefs
- target
- targetRefs
- pasteType
- isCopying
- uiAction
- isTranspose
See Also