[Python] How to iterate cells from A1 to max_row (with data)?

Discussão em 'Python' iniciado por Stack, Abril 17, 2025.

  1. Stack

    Stack Membro Participativo

    How can I set the for iteration so that the variable goes from cell A1 to the last cell A in which there is data?

    I need something like this

    for x in ['A1' : 'An']


    (where 'An' i mean last 'A' cell with data, it can be A10 or A22, its variable cell)

    Continue reading...

Compartilhe esta Página