//create a new workbook var workbook = new GrapeCity.Documents.Excel.Workbook(); workbook.Open(GetResourceStream(@"xlsx\OleTemplates.xlsx")); // Save to an excel file workbook.Save("ImportOleObjectsToWorkbookAndExport.xlsx");
' Create a new Workbook Dim workbook As New Workbook workbook.Open(GetResourceStream("OleTemplates.xlsx")) ' save to an excel file workbook.Save("ImportOleObjectsToWorkbookAndExport.xlsx")