I have an excel sheet.
Want to make first 3 columns editable and remaining all columns non editable and blank (without grid lines) using c#. Please help...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dorothy TincherPosted May 9, 2014, 4:59 AM
Code uses this .NET Excel dll, I find it to be a good alternative to an Excel Interop.
SanuPosted Aug 25, 2013, 6:06 AM
Sunny SharmaPosted Aug 23, 2013, 2:23 AM
You need to Unlock the whole sheet or the part which you want the user be able to edit and Lock the cells of your purpose.
Protect the sheet when you're done and that's all it takes.
try this way:
-----------------------------------------------------------
----------------------------------------------------------
Happy Coding :)
Cheers!!