I'm trying to maintain a row (header fields) on every Excel page. I'm using OpenXML contained in the EPPlus libraries.
I've tried following line of code:
myWorkSheet.PrinterSettings.RepeatRows = New ExcelAddress(String.Format("${0}:${0}", firstRowNummerExcel.ToString()))
This doesn't error or crash on me, but just doesn't do anything in particular...
The PrinterSettings object does seem to work, as executing following line of code works:
worksheetVertrokkenRunderen.PrinterSettings.ShowHeaders = true
This makes me think that perhaps the inserted ExcelAddress is incorrect?