cant open excel sheet

I keep getting this error: A first chance exception of type ''System.Runtime.InteropServices.ExternalException'' occurred in syncfusion.excelrw.base.dll Additional information: Can not open storage. File Name is: C:\Documents and Settings\alin\Desktop\Test Ex\MASTER.xls Herez da code: str_MasterFileName = str_FilePath & "\MASTER.xls" Dim xl_MasterSheetSync As Syncfusion.ExcelRW.IWorksheet Dim xl_MasterBookSync As Syncfusion.ExcelRW.IWorkbook xl_MasterBookSync = Syncfusion.ExcelRW.ExcelUtils.Open(str_MasterFileName)

1 Reply

AD Administrator Syncfusion Team April 19, 2005 06:15 PM UTC

Hi Adrian, Could you please check if the spreadsheet is locked by some other application?. Thanks, Stephen. >I keep getting this error: > >A first chance exception of type ''System.Runtime.InteropServices.ExternalException'' occurred in syncfusion.excelrw.base.dll > >Additional information: Can not open storage. File Name is: C:\Documents and Settings\alin\Desktop\Test Ex\MASTER.xls > >Herez da code: > > str_MasterFileName = str_FilePath & "\MASTER.xls" > >Dim xl_MasterSheetSync As Syncfusion.ExcelRW.IWorksheet > >Dim xl_MasterBookSync As Syncfusion.ExcelRW.IWorkbook > >xl_MasterBookSync = Syncfusion.ExcelRW.ExcelUtils.Open(str_MasterFileName)

Loader.
Up arrow icon