Disable editing in IWorkbook ExcelEngine excle export

Hello,

I'm using ExcelEngine to generate an excel report, but I want that report not to be editable.  One should only have an option of printing the excel report.

Below is the code I'm using.








many thanks

Simon

3 Replies 1 reply marked as answer

KK Konduru Keerthi Konduru Ravichandra Raju Syncfusion Team April 15, 2021 09:12 AM UTC

Hi Simon, 

Greetings from Syncfusion. 

Your requirement can be achieved through worksheet protection. Please look into the following link to know more about this. 

Regards, 
Keerthi. 


Marked as answer

SB Simon Bunya April 15, 2021 10:49 AM UTC

Hello Keerthi,

Many thanks for your response.

However, the requirement is not to protect the worksheet with a password, but rather not to be able to edit any information on that generated excel worksheet. With what you propose, if one has this password: s/he can still edit the information.



Is there a way to disable the editing of the information on this excel, so that the only option is to print 

Thanks

Simon


KK Konduru Keerthi Konduru Ravichandra Raju Syncfusion Team April 16, 2021 07:35 AM UTC

Hi Simon, 

Thanks for the update. 

Worksheet Protection is the only way to disable editing the information. 

Regards, 
Keerthi. 


Loader.
Up arrow icon