[]
Gets or sets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.
Use this property to retrieve the current repeating row setting for the worksheet page setup.
string PrintTitleRows { get; set; }
Property PrintTitleRows As String
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.PrintTitleRows = "$1:$2";
string printTitleRows = pageSetup.PrintTitleRows;