We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Opening XLS File Already Opened by Excel

Thread ID:

Created:

Updated:

Platform:

Replies:

51044 Oct 26,2006 01:43 PM UTC Oct 26,2006 02:39 PM UTC WinForms 1
loading
Tags: XlsIO
bvanderw
Asked On October 26, 2006 01:43 PM UTC

I am using Syncfusion 3.3.0.0. How can I open an XLS file that is already opened by Excel (without having to mark the XLS file as 'Shared')? We are only interested in reading the contents of the file, so we want to be able to open the file read-only.

Melba Winshia [Syncfusion]
Replied On October 26, 2006 02:39 PM UTC

Hi bvanderw,

Support for opening Excel Spreadsheet in read-only mode been added in the later versions. Would it be possible to upgrade to later versions. Use the following code snippets to open an XLS file that is already opened by Excel.

[C#]

//Opening the file.
IWorkbook workbook = excelEngine.Excel.Workbooks.OpenReadOnly(@"..\..\Sample.xls");

Please take a look and let me know if you have any other questions.

Thanks,
Melba


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;