View Single Post
 
Old 04-08-2014, 06:12 AM
tfurnivall tfurnivall is offline Windows XP Office 2010 32bit
Novice
 
Join Date: Sep 2012
Posts: 9
tfurnivall is on a distinguished road
Default SOme results!

Well, I wrote a little script:
Code:
Sub TestNumTables()

Dim t As Long

t = ActiveDocument.Tables.Count

If t = 1 Then
   Debug.Print "This document has just "; t; "table (Phew!)"
Else
   Debug.Print "This table seems to have"; t; " tables. Now to see if I can consolidate them..."
End If

End Sub
And, when I run it:
Code:
This document has just  1 table (Phew!)
So... it looks like I have only one table - no breaks or real good friends snuggling up together, but still I can't get the top row repeating. I have actually done this before, but (it was many years ago) no longer have the code :-(

Any ideas? (Can't attach a .docm file , so the entire script is given above; the other two uploads are available elsewhere on this thread)

Thanks,

Tony
Reply With Quote