Dim nwb As XSSFWorkbook
nwb.Initialize2("")
Dim wrSheet As XLSSheet = nwb.createSheet2("new_sheet_of_new_book")
Dim rowOUT As XSSFRow = wrSheet.createRow(1) 'zero index is wrong
Dim wrCell As XSSFCell = rowOUT.createCell(0)
wrCell.StringCellValue = "hi, B4A XLSX world!"
nwb.write2(File.DirRootExternal, "created_new_book.xlsx")
nwb.close
nwb.Initialize("", File.Combine(File.DirRootExternal, "created_new_book.xlsx")) 'error - 0-sized file cannot be open
Dim sheet As XLSSheet = nwb.getSheetAt(0)
Dim row As XSSFRow = sheet.getRow(0)
Dim cell As XSSFCell = row.getCell(0)
Log(cell.toString)