I'm doing an export to Excel using Delphi. At some point, a text ends up being larger than the size of the cell, "popping" its contents out of the cell when opening the generated .XLSX file.
I would like to know the command used to apply the effect of the button "Break Text Automatically" by Delphi.
Follow the command to generate the text in the cell:
Sheet.Range['M' + IntToStr(iLin)] := sTexto;
This variable sTexto
saves a multi-line concatenation.