Posted 10 June 2021, 2:24 am EST
Using a FlexGrid version 4 in a WinForm app running .NET Framework 4.7.2
This is the method I use
cflxFleetDeliveries.SaveExcel(strFileName.ToString, "Fleet", C1.Win.C1FlexGrid.FileFlags.IncludeFixedCells Or C1.Win.C1FlexGrid.FileFlags.VisibleOnly Or C1.Win.C1FlexGrid.FileFlags.AsDisplayed)
If I export to a new file it works fine. If the file already exists (not open by anyone) it crashes and corrupts the file. I have error handling around the above command and it should produce a message box for any errors.
Any ideas?