Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2170
Frozen Panes
posted

I am using the Worksheet:DisplayOptions:PanesAreFrozen property in conjunction with the FrozenPaneSettings and that works fine when viewing the worksheet. How would I go about setting this for when printing the worksheet so my FrozenPanes will always print?

Parents
  • 53790
    posted

    Hello RBlanchard,

    I try to reproduce your scenario in a small sample. Maybe one possible approach could be to hide the rows / columns, which you don’t want to be shown in the excel, before selected FrozenPane. In my sample I have three rows and I set property
    worksheet.DisplayOptions.FrozenPaneSettings.FirstRowInBottomPane = 2;
    so I hide all rows before the selected one. Could you please take a look at the attached sample for more details. Please let me know if you think that I misunderstood your scenario or if you have any questions.

    Regards

    WorksheetExcelExport.zip
Reply Children