![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
Copies the named worksheet and creates a new worksheet in the same workbook
Namespace:
OfficeOpenXml
Assembly:
EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
C# |
---|
public ExcelWorksheet Copy( string Name, string NewName ) |
Visual Basic (Declaration) |
---|
Public Function Copy ( _ Name As String, _ NewName As String _ ) As ExcelWorksheet |
Visual C++ |
---|
public: ExcelWorksheet^ Copy( String^ Name, String^ NewName ) |
Parameters
- Name
- Type: System..::.String
The name of the existing worksheet
- NewName
- Type: System..::.String
The name of the new worksheet to create