Category / Section
Does XlsIO provide support to open an XLS file that is already opened by Excel?
1 min read
Yes, XlsIO provide support to open an XLS file that is already opened by Excel. Use the following code snippets to open the XLS file that is already opened by Excel.
C#
//Opening the file. IWorkbook workbook = excelEngine.Excel.Workbooks.OpenReadOnly(@"Sample.xlsx");
VB
'Opening a File. Dim workbook As IWorkbook = application.Workbooks.OpenReadOnly(@"Sample.xlsx")