Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Jul 2002
    Location
    Princes Risborough, Buckinghamshire, England
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Repeating Table Header rows (VBA/Word 2000/2)

    Anyone know the Word Object model equivalent of this setting:

    Table > Table Properties > Row > Repeat as Header row at the top of each page

    I've looked at the Table and Row objects but can't see anything that obviously matches.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 18 Times in 18 Posts

    Re: Repeating Table Header rows (VBA/Word 2000/2)

    Recording a macro is a good way to find out which property is used for this. It turns out to be HeadingFormat. Look it up in the online help index for VBA. Example:

    ActiveDocument.Tables(1).Rows(1).HeadingFormat = True

    (you can also set it to False, or to wdToggle to flip the value)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •