Documentation
-
Programmatically add new worksheets to workbooks
Create a Microsoft Office Excel worksheet and add the worksheet to the collection of worksheets in the workbook programmatically from Visual Basic or C#.
-
Programmatically close workbooks - Visual Studio (Windows)
Close the active Microsoft Office Excel workbook or specify a workbook to close programmatically from Visual Basic or C#.
-
Programmatically create new workbooks - Visual Studio (Windows)
Create a new Microsoft Excel workbook programmatically from Visual Basic or C# in Visual Studio by using the default template or with a custom template.