openpyxl-image-loader
openpyxl-image-loader copied to clipboard
image beyond column Z
Hi Mauricio,
I noticed when the image is located in a column grater than Z there is a error:
line 20, in init col = string.ascii_uppercase[image.anchor._from.col] IndexError: string index out of range
Maybe you should use:
col = openpyxl.utils.cell.get_column_letter(image.anchor._from.col + 1)
Good luck and thank for your image-loader Ricardo Leon
Thank you a lot, let me check it and I hope to fix in the next release
For anyone reading this in 2023, this suggested fix works. Just requires editing the source code locally, as the change has not been made.