"XL.Sheet.SetColumn" seems snot work as expected as for autofit / -1

Using MBS ( “XL.Sheet.SetColumn”; $book; $sheet; 0; $colLast; -1) (here: $colLast = 10) only seems to work in some cases.

  • When I export all records autofit does not work.
  • When I export some records autofit does work in some cases.
  • When I export some columns autofit does work in some cases.

What causes autofit to only work in some cases? Does the data coming from FileMaker need to be formatted in a certain way? I use XL.Sheet.CellWriteText for all rows.

Using Trial Version 4.2.0. according to the excel sheet, I downloadedLibXL for Mac 5.2.0 according to the download page.