'Declaration
Public Overloads Function Copy( _ ByVal sourceWorksheet As Worksheet, _ Optional ByVal destinationSheetName As String, _ Optional ByVal destinationWorksheetIndex As Nullable(Of Integer) _ ) As Worksheet
'Usage
Dim instance As WorksheetCollection Dim sourceWorksheet As Worksheet Dim destinationSheetName As String Dim destinationWorksheetIndex As Nullable(Of Integer) Dim value As Worksheet value = instance.Copy(sourceWorksheet, destinationSheetName, destinationWorksheetIndex)
Parameters
- sourceWorksheet
- destinationSheetName
- destinationWorksheetIndex