Open Specifications Developer Center > Open Specifications Forums > Using the Office Protocols > excel: how to set a certain row to repeat at the top when printing
Ask a questionAsk a question
 

Answerexcel: how to set a certain row to repeat at the top when printing

  • Friday, December 19, 2008 5:03 PMOmego2K Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi I am creating a dynamic excel document using HTML/XML. Yet I can't seem to figure out how to get a specific row to repeat at the top when printing. Closest I found was an office CSS property which I am not sure how to use as what I've tried is not working. The property is "mso-print-title-row" and I've tried using it like this:

    <style>

    @print
          {
          mso-print-title-row: $1:$1;
          }
    </style>

    Also I am still not sure that this is how it's done. Any help would be appreciated.

Answers

All Replies