AutoFitColumns does not work when a style is applied on a column. I applied a style on a column (number format-currency), and when the excel file is open i see ##### - sign that the column is too narrow(see attached solution and excel file). When the style is not applied, the AutofitColumns method works fine. I really need this autofit to work because the requirement for me is that the user opens the excel file and prints it directly without formatting it further.
TestAutoFit_5fdf8c38.zip