Set Rows to repeat at top when printing - Open XML and Excel

前端 未结 3 972
一个人的身影
一个人的身影 2021-01-20 03:05

I am trying to get the first 4 rows of an xlsx file to repeat at the top of each page when printed. I am using the Open XML SDK to accomplish this.

My file is bei

3条回答
  •  渐次进展
    2021-01-20 03:49

    This is possible via ClosedXML

    Worksheet.PageSetup.SetRowsToRepeatAtTop(1, 5);
    

提交回复
热议问题