You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use these examples in production code. Refer to the DevExpress Subscription page for pricing information.
This example demonstrates how to create a copy of an existing worksheet. To do this, follow the steps below.
A complete sample project is available at https://github.com/DevExpress-Examples/spreadsheet-document-server-api-e4339
// Add a new worksheet to a workbook. workbook.Worksheets.Add("Sheet1_Copy"); // Copy all information (content and formatting) to the newly created worksheet // from the "Sheet1" worksheet. workbook.Worksheets["Sheet1_Copy"].CopyFrom(workbook.Worksheets["Sheet1"]);