Live SpreadsheetGear API Samples
Range Samples Operations Lock and Protect Cells
Lock and unlock cells and enable worksheet protection on two worksheets, protecting with and without a password.
Run This Sample
Download File
Download an Excel Open XML Workbook (*.xlsx) file with the results of this sample.
Related Samples
Range Samples > Operations