dimanche 1 mars 2015

How to move through excel cell and then write the data

I would like to write the data with for loop but I could not offset. Normally, I thought it should be like this;



i = 1
for row in data_district:
Range("A" & i).value = zip(*data_district)
i = i + 2


So the data will start from A1 to whatever column, then offset to A3 then start writing from A3 then A5.. But i receive an error: unsupported operand type.


Thank you.


Aucun commentaire:

Enregistrer un commentaire