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






Moves this worksheet to the specified workbook at the specified position.

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

 Syntax

Java  Copy Code

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

 Parameters

workbook

The workbook to move 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 moved the worksheet.

 Return Value

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

 See Also