//create a new workbook var workbook = new GrapeCity.Documents.Excel.Workbook(); Stream stream = this.GetResourceStream("xlsx\\Information.csv"); //Open csv file stream. workbook.Open(stream, OpenFileFormat.Csv);
' Create a new Workbook Dim workbook As New Workbook Dim stream As Stream = GetResourceStream("Information.csv") 'Open csv file stream. workbook.Open(stream, OpenFileFormat.Csv) ' save to an excel file workbook.Save("ImportCsvFileToWorkbook.xlsx")