jmcnamara / XlsxWriter

A Python module for creating Excel XLSX files.
https://xlsxwriter.readthedocs.io
BSD 2-Clause "Simplified" License
3.66k stars 632 forks source link

feature request: IMAGE formula #1004

Closed vidz1979 closed 1 year ago

vidz1979 commented 1 year ago

Feature Request

Please consider adding IMAGE function to direct link URL images to cells. This function is in "future" yet.

https://insider.microsoft365.com/pt-br/blog/insert-images-in-cells-with-the-image-function-in-excel

vidz1979 commented 1 year ago

Forget it, it's in the docs:

worksheet.write_formula('A1', '=_xlfn.IMAGE(B1)')

jmcnamara commented 1 year ago

Forget it, it's in the docs:

You can also enable use_future_functions in the Constructor: https://xlsxwriter.readthedocs.io/workbook.html?highlight=use_future_functions#constructor