Programatically set Rows to repeat for excel sheet
Posted on 2008-10-16
I am trying to progrmatically set an excel file through C# to print the header row on each page.
I am setting various properties, but can't seem to find one that will do this.
In excel it can be set by going to File - Page Setup - Sheet tab - Rows to repeat at top: 1:1
How can this be done through C#.
Thanks in advance.