Search
Worksheet.copy Method (Workbook, Int32, String)
See Also
 






Copies this worksheet to the specified workbook at the specified index.

Namespace: com.mindfusion.spreadsheet
Package: com.mindfusion.spreadsheet

 Syntax

Java  Copy Code

public boolean copy (
    Workbook workbook,
    int index,
    String name
)

 Parameters

workbook

The workbook to copy to.

index

The 0-based index in the target workbook where to copy this worksheet, or -1, to copy at the end of the workbook.

name

The new name of copied the worksheet.

 Return Value

true if the copy was successful; otherwise, false. The method returns false if the workbook contains a worksheet with the same name.

 See Also