EXCEL Workbook Protection in C#, VB.NET

The sample demonstrates how to lock and unlock an excel workbook.