Skip to content
Advertisement

how to apply a format on multiple excel files at once (hide gridlines & autofit columns)

I’m trying to apply a specific format on an iterate excel files, i need to hide the gridlines and autofit columns width, i tried many codes and styles but no one of them worked with me.

the exported excel files shown as below PSenter image description here

JavaScript

Advertisement

Answer

Haven’t dealt with excel formatting yet, but maybe openpyxl will offer a more friendly interface than pandas.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement