[]
Copies the range to the specified range.
[Obsolete("Please use the PasteOption overload instead.")]
void Copy(IRange destination, PasteType pasteType = PasteType.Default)
<Obsolete("Please use the PasteOption overload instead.")>
Sub Copy(destination As IRange, Optional pasteType As PasteType = PasteType.Default)
Type | Name | Description |
---|---|---|
IRange | destination | Specifies the new range to which the specified range will be pasted. It can be the range of the same or another workbook. |
PasteType | pasteType | Specifies the part of the range to be pasted. |
Copies the range to the specified range.
void Copy(IRange destination, PasteOption pasteOption)
Sub Copy(destination As IRange, pasteOption As PasteOption)
Type | Name | Description |
---|---|---|
IRange | destination | Specifies the new range to which the specified range will be pasted. It can be the range of the same or another workbook. |
PasteOption | pasteOption | Specifies the part of the range to be pasted and whether to include hidden range. |
Copies the range to the specified range.
void Copy(IRange destination)
Sub Copy(destination As IRange)
Type | Name | Description |
---|---|---|
IRange | destination | Specifies the new range to which the specified range will be pasted. It can be the range of the same or another workbook. |