'Declaration
Public Overloads Sub CutAndPasteTo( _ ByVal cellAddress As String, _ Optional ByVal pasteOptions As PasteOptions, _ Optional ByVal otherWorksheet As Worksheet _ )
'Usage
Dim instance As CellRange Dim cellAddress As String Dim pasteOptions As PasteOptions Dim otherWorksheet As Worksheet instance.CutAndPasteTo(cellAddress, pasteOptions, otherWorksheet)
public void CutAndPasteTo( string cellAddress, PasteOptions pasteOptions, Worksheet otherWorksheet )
Parameters
- cellAddress
- The Address of the Cell used as the target location for pasting the CellRange.
- pasteOptions
- The PasteOptions; in other words, what type of data will be pasted into the new location.
- otherWorksheet
- The Worksheet in which the data will be pasted; by default, this is set to null, which means that the data will be pasted into the current Worksheet.