Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 jxl 生成了一个 excel 表,许多列的数据前面有一个隐藏的撇号。只有单击单元格时才能看到撇号。我已经查看并找不到解决此问题的帖子。那里的任何人都可以告诉我如何使用 jxl 或任何其他方法删除它。
我感觉撇号向 Excel 表明单元格中的数据应被视为文本。
您是否将单元格作为正确的类型写入电子表格?比如jxl.write.Number、jxl.write.Label、jxl.write.DateTime,它们都实现了jxl.write.WritableCell。
有关如何编写这些单元格、它们包含哪些数据以及它在 Excel 中的显示方式的更多信息将很有用。