So I was having problems adjusting columns to fit content using AdjustToContent(), which would throw an exception every time it was used on a range. I tracked it down to a column that contained cells formatted with Style.NumberFormat.SetNumberFormatId(7);
When I removed the number formatting the exception went away.
Is there a workaround I can use to accomplish the same thing?
Thank you for your work on this, it's made my current project orders of magnitude easier.