--
You received this message because you are subscribed to the Google Groups "openpyxl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpyxl-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/df409b46-a2bc-452d-b363-dc835f4169d4%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "openpyxl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpyxl-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/40BBC9F5-B26C-460D-89C6-22DAE7820581%40clark-consulting.eu.
Hi,You can do something like this,for i in range(1,ws.max_row):for j in range(1,ws.max_column):If ws.cell(row=i,column=j).value is None:ws.cell(row=j,column=i).value ='your string'Where ws is your worksheet object.
On Tue 17 Dec, 2019, 6:10 PM Danielli Carvalho, <danilsc...@gmail.com> wrote:
Hello, everyone.--
I would like to check for empty cells on my file and replace them all with zeros but had no sucess untill now.I'm new using python so maybe you can help me with this.
Thank you in advance.
You received this message because you are subscribed to the Google Groups "openpyxl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpyx...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "openpyxl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpyxl-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/4b318470-7ffd-4067-8db2-0ee62770f8ec%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/CAGVRZa2RUZE3pOH5pnciSGfNaP9k%3DYXPsNNWGzCkesZ7cOj4cQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/CAFPj%2BOVANQXaxQvk2jOEHoD6KsK4D1R5g9Nu_Z4zMwMq5kg2xw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/CAGVRZa3jcbm1tYFbpzd%3D-yUqKMJ%3D-t1nh84qDiqFXg6NJQEfAw%40mail.gmail.com.