How to protect Excel cells contents in Excel worksheet and also in its xml file format? I want cells to be read only.
|
feedback
|
migrated from stackoverflow.com Apr 22 '10 at 8:48
This question came from our site for professional and enthusiast programmers.
|
You should make the file read-only. Find the file in explorer, right click, then select "Read-Only", then select OK. There is no way to do it on individual cells of an XML file, you can only do it to the whole file. | |||
|
feedback
|
|
I don't think this is possible for the XML file format. Binary Excel files can be protected usign the regular means (workbook/worksheet protection, or file protection, or both). | |||
|
feedback
|
|
If you want to make cells in a excel sheet read-only, you can do:
| |||
feedback
|
