Imports Docs.Excel Module Module1 Sub Main() ' TODO: If using Excel Reader .NET Full Version, put YOUR-LICENSE-CODE below. ' Otherwise, if you are using Excel Reader .NET Trial, comment out the following line ' (Free version doesn't have LicenseCode method). ' Docs.Excel.ExcelWorkbook.SetLicenseCode("YOUR-LICENSE-CODE") Dim Wbook As ExcelWorkbook = ExcelWorkbook.ReadXLSX("..\..\..\TestOpenXML.xlsx") Dim Wsheet As ExcelWorksheet = Wbook.Worksheets(0) Dim Cells As ExcelCellCollection = Wsheet.Cells Console.WriteLine("Test of reading OpenXML files (XLSX):") Console.WriteLine() For i As Integer = 0 To Wsheet.Rows.Count - 1 For j As Integer = 0 To Wsheet.Columns.Count - 1 Console.Write(vbTab) Console.Write(Cells(i, j).Value.ToString()) Next Console.WriteLine() Next Console.ReadLine() End Sub End Module