I'm new to Python and using openpyxl.
I've learned how to write and read and exact cell using ws.cell(row=1, column=1).value = something
but what I want now is a while
cycle where it reads all the values from one column and write in another column a value that I get from a function.
When I try to do so instead of using ws.cell(row=i, column=1).value = something
but when I do so I get an error saying that row value must be between 1 and 1048576.
while cell != 'None':
cell = ws['A' + str(i)].value
i = i + 1
In this case I want to find the first cell that as no value in it, not the first cell that contains "None"
Any suggestion?