We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49c5e4f commit e109e14Copy full SHA for e109e14
1 file changed
pyxlsb2/worksheet.py
@@ -84,7 +84,11 @@ def rows(self, sparse=True):
84
row = Row(self, row_num)
85
elif rectype == rt.CELL_ISST:
86
if rec.v is not None and rec.c is not None:
87
- row._add_cell(rec.c, rec.v, rec.f, rec.style)
+ if 0 <= rec.v < len(self.workbook.stringtable._strings):
88
+ value = self.workbook.get_shared_string(rec.v)
89
+ else:
90
+ value = rec.v
91
+ row._add_cell(rec.c, value, rec.f, rec.style)
92
93
elif rectype >= rt.CELL_BLANK and rectype <= rt.FMLA_ERROR:
94
0 commit comments