locked
Repeat as header row at the top of each page RRS feed

  • Question

  • Hi,

    I want to repeat the header row at the top of the each page using office interop 11. Can any one help me on this?

    Thanks,

    Hasitha

    Tuesday, October 12, 2010 3:33 PM

Answers

  • Hi Hasitha

    oTable.Rows(1).HeadingFormat = true

    That's VB-speak, so what's in (parentheses) is a collection (meaning you need to use [square brackets] for C#).


    Cindy Meister, VSTO/Word MVP
    • Proposed as answer by Amy Li Monday, October 18, 2010 2:00 AM
    • Marked as answer by Amy Li Monday, October 18, 2010 8:49 AM
    Tuesday, October 12, 2010 4:30 PM