mirror of
https://github.com/FAUSheppy/ths-reference-data-collector
synced 2025-12-06 06:51:35 +01:00
center all datafield
This commit is contained in:
5
main.py
5
main.py
@@ -204,4 +204,9 @@ if __name__ == "__main__":
|
|||||||
for cell in row:
|
for cell in row:
|
||||||
cell.style = DATE_STYLE
|
cell.style = DATE_STYLE
|
||||||
|
|
||||||
|
# center everything #
|
||||||
|
for row in ws.iter_rows(min_row=3, min_col=1):
|
||||||
|
for cell in row:
|
||||||
|
cell.alignment = openpyxl.styles.Alignment(horizontal='center')
|
||||||
|
|
||||||
wb.save(outfileRaw)
|
wb.save(outfileRaw)
|
||||||
|
|||||||
Reference in New Issue
Block a user