Articles in this section
Category / Section

How I can control the available actions within a protected worksheet?

1 min read

Use the following code snippets to control the available actions within a protected worksheet.


C#

//Protect sheet.
sheet.Protect("syncfusion", ExcelSheetProtection.FormattingColumns);

VB

'Protect sheet
sheet.Protect("syncfusion", ExcelSheetProtection.FormattingColumns)

 

Here is the sample for your reference:

File_Open_Error.zip

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment