WebWorksheets.AddCopy

AddCopy(int)

Adds a worksheet to the collection and copies data from an existed worksheet.

public int AddCopy(int sheetIndex)
ParameterTypeDescription
sheetIndexInt32Index of source worksheet.

Return Value

Worksheet object index.

See Also


AddCopy(WebWorksheet)

Adds a worksheet to the collection and copys data from an existed worksheet.

public int AddCopy(WebWorksheet srcSheet)
ParameterTypeDescription
srcSheetWebWorksheetSource of WebWorksheet.

Return Value

WebWorksheet object index.

See Also


AddCopy(string)

Adds a worksheet to the collection and copys data from an existed worksheet.

public int AddCopy(string sheetName)
ParameterTypeDescription
sheetNameStringName of source worksheet.

Return Value

WebWorksheet object index.

See Also