View Single Post
  #10  
Old May 2nd, 2006, 11:55 AM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

I have tryed your suggestion, but receives an error saying: "Cannot access
individual rows in this collection because the table has vertically merged
cells"?

Thanks anyway, Peter


"Cindy M -WordMVP-" wrote:

Hi Robert,

There are many linked tables in my document, and it is very time consuming
to locate each one in the document, and reset the "heading rows repeat"
setting. Is there a macro that could do this automatically for all tables in
the document.

Yes, this should be possible. Sample code to set the first row of each table to
repeat:

Sub SetHeadingRows()
For each tbl in ActiveDocument.Tables
tbl.Rows(1).HeadingFormat = True
Next
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)