public static void Run()
{
// ExStart:1
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
// Instantiating a Workbook object
Workbook workbook = new Workbook(dataDir + "book1.xls");
// Accessing the first worksheet in the Excel file
Worksheet worksheet = workbook.Worksheets[0];
// Unprotecting the worksheet without a password
worksheet.Unprotect();
// Saving the Workbook
workbook.Save(dataDir + "output.out.xls", SaveFormat.Excel97To2003);
// ExEnd:1
}
}