Cannot read any comments
Created originally on Bitbucket by Anonymous
Hi,
I'm working on windows xp and save inside microsoft excel 2003 my excel files on .xlsx format.
Well, I put comments inside some cells but i can't read them, the result is always None. To be sure i miss nothing, i read the entire file. In attachment my test file, almost empty.
#!python
self.file = file
self.wb = openpyxl.load_workbook(self.file)
self.sheet = self.wb.get_active_sheet()
for i in range(self.sheet.get_highest_row()):
for j in range(self.sheet.get_highest_column()):
print(self.sheet.cell(row = i, column = j).comment)
Attachments: test_file.xlsx