Looking for a VB Script to run a Macro to reapeat table header

C

CWHelp

Anyone know where I can find a Macro for Word that would fix all of my 500
tables so that they all repeat the header? Or do you know what the class or
any of the other syntax would be to create one?
 
D

Doug Robbins - Word MVP

Dim i As Long
With ActiveDocument
For i = 1 To .Tables.Count
.Tables(i).Rows(1).Select
Selection.Rows(1).HeadingFormat = wdToggle
Next i
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top