using System.Linq;
using IronXL;
WorkBook workbook = WorkBook.Load("test.xls");
WorkSheet sheet = workbook.WorkSheets.First();
//This is how we can freeze specified amount of columns and rows.They will be visible while scrolling the screen
sheet.CreateFreezePane(2,5);
//sheet.RemovePane() can be used to remove this frozen pane.
workbook.SaveAs("CreateFreezePanes.xls");
Imports System.Linq
Imports IronXL
Private workbook As WorkBook = WorkBook.Load("test.xls")
Private sheet As WorkSheet = workbook.WorkSheets.First()
'This is how we can freeze specified amount of columns and rows.They will be visible while scrolling the screen
sheet.CreateFreezePane(2,5)
'sheet.RemovePane() can be used to remove this frozen pane.
workbook.SaveAs("CreateFreezePanes.xls")