//create a new workbook var workbook = new GrapeCity.Documents.Excel.Workbook(); //Load template file var fileStream = this.GetResourceStream("xlsx\\Family budget.xlsx"); workbook.Open(fileStream); // Save to an excel file workbook.Save("FamilyBudget.xlsx");
' Create a new Workbook Dim workbook As New Workbook 'Load template file Dim fileStream = GetResourceStream("Family budget.xlsx") workbook.Open(fileStream) ' save to an excel file workbook.Save("FamilyBudget.xlsx")