Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can I automate Heading Rows Repeat for all tables
Word 2003. I have many tables with the top row with unique style "table
header". I would like the table header row to repeat on each page. It seams the attribute 'Heading Rows Repeat' cannot be associated with the style. Must I go into each table and select the top row and manually set 'Heading Rows Repeat' or is there an automated way to do this for all tables? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can I automate Heading Rows Repeat for all tables
Al,
If all your tables are "uniform" (i.e., no vertically merged cells), you can use a short macro to do this: Dim t As Table For Each t In ActiveDocument.Tables t.Rows(1).HeadingFormat = True Next t If your tables *do* have vertically merged cells but your header rows don't: Dim t As Table For Each t In ActiveDocument.Tables t.Range.Cells(1).Select Selection.SelectRow Selection.Rows.HeadingFormat = True Next t ===== Mark Tangard MS Word MVP 2001-2004 Al Almoian wrote: Word 2003. I have many tables with the top row with unique style "table header". I would like the table header row to repeat on each page. It seams the attribute 'Heading Rows Repeat' cannot be associated with the style. Must I go into each table and select the top row and manually set 'Heading Rows Repeat' or is there an automated way to do this for all tables? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Borders with Heading Rows Repeat | Tables | |||
Heading Rows Repeat Greyed Out | Tables | |||
Tables - Heading Rows DON'T repeat | Tables | |||
repeat heading rows in tables | Tables | |||
Tables - Heading Rows Repeat Over Sections | Page Layout |