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