Answers for "openpyxl get last non empty row"

0

openpyxl get last non empty row

# Open file with openpyxl
to_be = load_workbook(FILENAME_xlsx)
s = to_be.active

last_empty_row = len(list(s.rows))
print(last_empty_row)
## Output: 13
Posted by: Guest on June-28-2021

Browse Popular Code Answers by Language