Hi everyone,
I'm encountering an issue while working with openpyxl on my Mac (Python 3.12.4, openpyxl 3.1.4). When I loop over the cells in a worksheet to get the column widths, some columns return a width of 13.0, even though their actual widths in the original Excel sheet are different. However, for other columns, I get the correct widths.
Here is the loop I am using:
The issue is that some columns always return 13.0, which is not their actual width in the Excel sheet. I can't figure out why this happens only to some columns while others return the correct width.
Does anyone have any idea why this inconsistency occurs and how I can fix it?
Thank you in advance for your help!