Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Below is a code example for VSTO
Excel.Workbook newWorkbook = this.Application.Workbooks.Add();
Excel.Worksheet worksheet = newWorkbook.ActiveSheet;
Excel.Range cells = worksheet.Cells;
cells.set_Item(1, 1, "Some Text");
newWorkbook.Save();
Below is a code example for Aspose.Cells
Workbook newWorkbook = new Workbook();
Worksheet worksheet = newWorkbook.Worksheets.Add("New Sheet");
Cells cells = worksheet.Cells;
cells[0, 0].PutValue("Some Text");
newWorkbook.Save(fileName);
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.