Created
October 24, 2023 09:50
-
-
Save fileformat-cells-gists/8c056fad7873fe5373230da8a4cd9034 to your computer and use it in GitHub Desktop.
Create an Empty Workbook / Spreadsheet in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using FileFormat.Cells; | |
namespace Example | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Initialize an instance of the Workbook class. | |
Workbook workbook = new Workbook(); | |
// Call the Save method to save the MS Excel Spreadsheet/Workbook onto the disk. | |
workbook.Save("/Spreadsheet.xlsx"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment