add_copy method
Contents
[
Hide
]add_copy
Adds a worksheet to the collection and copies data from an existed worksheet.
Returns
Worksheet
object index.
def add_copy(self, sheet_name):
...
Parameter | Type | Description |
---|---|---|
sheet_name | str | Name of source worksheet. |
Exceptions
Exception | Description |
---|---|
CellsException | Specifies an invalid worksheet name. |
add_copy
Adds a worksheet to the collection and copies data from an existed worksheet.
Returns
Worksheet
object index.
def add_copy(self, sheet_index):
...
Parameter | Type | Description |
---|---|---|
sheet_index | int | Index of source worksheet. |
add_copy
Copy a group of worksheets.
def add_copy(self, source, dest_sheet_names):
...
Parameter | Type | Description |
---|---|---|
source | list | The source worksheets. |
dest_sheet_names | list | The names of the copied sheets. |
See Also
- module
aspose.cells
- class
CellsException
- class
Worksheet
- class
WorksheetCollection