The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I can import data from excel without problem, but if
the excel file is already opened in Excel, it throws me an exception.
Could you please tell me how can i do that, now i have to close the file in excel before opening it and importing data from the file,
Thanks in advance
ADAdministrator Syncfusion Team May 18, 2006 04:24 PM UTC
Hi,
Sorry for the delay in getting back to you.
1) Please refer to this thread for a possible workaround
http://www.syncfusion.com/Support/forums/message.aspx?MessageID=35645
2) The upcoming version 4.2 has a inbuilt method for opening a file already open by MS Excel
IWorkbook myWorkbook = excelEngine.Excel.Workbooks.OpenReadOnly("Template.xls");
Please let me know if you have any questions.
Best regards,
Stephen.
>Hi,
>
>I can import data from excel without problem, but if
>the excel file is already opened in Excel, it throws me an exception.
>Could you please tell me how can i do that, now i have to close the file in excel before opening it and importing data from the file,
>
>Thanks in advance
>