Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: Locking cells doesn't work [9381]

$
0
0
Hello,

Looks like Worksheet.Cell(i,j).Style.Protection.Locked = true does not work like intended and the field is still editable. Is there something I am missing?

Thanks
Comments: Thanks MDeLeon for your prompt answer. But if I do protect the entire worksheet all the cells become locked, I only want a select number of them to be locked.

Viewing all articles
Browse latest Browse all 1877

Trending Articles