How can I read excel rows from bottom up.
Reading them top to bottom with the following code has no problem at all
for row in range(2, ws.max_row+1):
print(ws.cell(row, 1).value)
But doing for loop in reverse doesn't print a thing. Is there anything wrong with the below code?
for row in range(ws.max_row, 1):
print(ws.cell(row, 1).value)
row -= 1
Appreciate any help, newbie here..