英文:
Apache poi, cells missing when loading
问题
我有一个工作簿,其中单元格A1未显示在工作表中。导致第一个单元格未出现在行单元格集合中的原因是什么?
电子表格如下:
请注意,58-1所在的单元格之前有5列,工作表结构只有3个单元格。
是什么原因导致poi似乎“跳过”了2个单元格。
英文:
I have a workbook where cell A1 is not appearing in the worksheet. What could be the reason the first cell does not appear in the row cell collection.
The spreadsheet
Note there are 5 columns before the cell with 58-1 in it, worksheet structure only has 3 cells.
What could be causing poi to apparently 'skip' 2 cells.
答案1
得分: 0
@AxelRichter 我觉得你有点眉目了。这让我再次审视了一下电子表格。我发现了一些隐藏工作表,它们的名称与我“认为”我在处理的内容非常相似。此外,我对poi如何处理合并单元格的有限理解有点误导。这是用户的错误。
英文:
@AxelRichter I think you are on to something. That made me look at the spreadsheet once more. I found a number of Hidden Sheets with a names strikingly similar to what I 'thought' I was processing. Additionally, my limited understanding how poi handles merged cells kinda mis-directed me. User error.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论