//create a new workbook var workbook = new GrapeCity.Documents.Excel.Workbook(); Stream fileStream = this.GetResourceStream("xlsx\\Employee absence schedule.xlsx"); workbook.Open(fileStream);
' Create a new Workbook Dim workbook As New Workbook Dim fileStream As Stream = GetResourceStream("Employee absence schedule.xlsx") workbook.Open(fileStream) ' save to a pdf file workbook.Save("ConvertExcelToPDF.pdf")