0

It should be 35 rows, but it give me only 1, if i resave the excel file everything work correct

stat = openpyxl.load_workbook(filename=, read_only=True)
sheet = stat.active
print(sheet.max_row)

how can i solve this problem without resave? There is also error


UserWarning: Workbook contains no default style, apply openpyxl's default
  warn("Workbook contains no default style, apply openpyxl's default")

0 Answers0