Teşekkürler verdiğin yol üzerinden gidince %90 oranında çözüldü
from openpyxl import load_workbook
excel1=load_workbook(filename='bb.xlsx')
excel2=load_workbook(filename='aa.xlsx')
sayfa1=excel1['Page1']
sayfa2=excel2['Sayfa1']
hucreNo=5
hucreNo1=2886
hucreSay=1
while True:
hucreSay+=1
if hucreSay==31:
sayfa2["H2887"]=hucreNo1
hucreNo1=hucreNo1
print"Girisler Yapildi"
break
else:
hucreNo=hucreNo+1
hucreNo1=hucreNo1+1
TakipNo=sayfa1['A{}'.format(hucreNo)].value
isim=sayfa1['J{}'.format(hucreNo)].value
Adres=sayfa1['K{}'.format(hucreNo)].value
Tel=sayfa1['AC{}'.format(hucreNo)].value
Tarih=sayfa1['E{}'.format(hucreNo)].value
Tutar=sayfa1['AM{}'.format(hucreNo)].value
if TakipNo==None:
break
else:
sayfa2['K{}'.format(hucreNo1)]=TakipNo
sayfa2['M{}'.format(hucreNo1)]=isim
sayfa2['C{}'.format(hucreNo1)]=Adres
sayfa2['D{}'.format(hucreNo1)]=Tel
sayfa2['A{}'.format(hucreNo1)]=Tarih
sayfa2['E{}'.format(hucreNo1)]=Tutar
excel1.save('bb.xlsx')
excel2.save('aa.xlsx')
excel1.close()
excel2.close()
Tek sıkıntım programı yeniden başlatınca son hücre sayısından devam etmiyor… 