Hello,
I generates an Excel file with an image inserted in a cell.
I would like this picture keeps its proportional size.
Do you have a solution for me?
Best Regards,
Hello,
I generates an Excel file with an image inserted in a cell.
I would like this picture keeps its proportional size.
Do you have a solution for me?
Best Regards,
Hi,
Hi,
A small remark: The code above will keep the aspect ratio and resize the image so it fits in a whole row or column, but will not center the image. If you also want to center the image in the cell for the dimension that is not the full cell, you could replace the code by this instead: