In This Topic
Finds the suitable range to backup that the original worksheet can be restored correctly later (used by Clipboard Cut for example)
Syntax
'Declaration
Public Sub FindBackupRange( _
ByRef As Integer, _
ByRef backupColumn As Integer, _
ByRef As Integer, _
ByRef backupColumnCount As Integer, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean _
)
'Usage
Dim instance As Worksheet
Dim backupRow As Integer
Dim backupColumn As Integer
Dim backupRowCount As Integer
Dim backupColumnCount As Integer
Dim clear As Boolean
Dim valueOnly As Boolean
Dim includingShape As Boolean
instance.FindBackupRange(backupRow, backupColumn, backupRowCount, backupColumnCount, clear, valueOnly, includingShape)
public void FindBackupRange(
ref int ,
ref int backupColumn,
ref int ,
ref int backupColumnCount,
bool ,
bool ,
bool
)
Parameters
- backupRow
- backupColumn
- backupRowCount
- backupColumnCount
- clear
- valueOnly
- includingShape
See Also