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