Posted 8 August 2022, 7:53 am EST
I receive an error trying to open a .xlsm file that was copied through fpSpread. Excel cannot open the file ‘2023-ExpendituresCopy.xlsm’ because the file format or file extension is not valid.
Dim spr As New FarPoint.Win.Spread.FpSpread
spr.OpenExcel("C:\TFS\Idaho\Code\SAS\bin\Debug\2023-Expenditures.xlsm", FarPoint.Excel.ExcelOpenFlags.DocumentCaching)
spr.SaveExcel("C:\TFS\Idaho\Code\SAS\bin\Debug\2023-ExpendituresCopy.xlsm", FarPoint.Excel.ExcelSaveFlags.DocumentCaching)