I am attempting to write into an excel sheet some data and after writing in the necessary data, I would like to protect the cells against editing by making them non editable. After this operation, some data will be updated on the unprotected cells by the sheet users which I will then use and read from to carry out some processing activity.
- Can someone help me out with specifically, how do I lock a column from editing in excel?
- How do you write using C# into a protected column?
- How do you read using C# from a protected column?
Simple references to examples would help me out greatly. PS: If you are more comfortable with VB.NET even the references of how to do this on that would be helpful.