void HideDataEntryForm(Worksheet sheet) { CellRange range = sheet.Range.Parse("C4,C6,C8,E4,E6,E8,G4,G6"); range.ClearContents(); sheet.Rows.Hide(2, 9); }