![]() |
|
#2
|
|||
|
|||
|
To clear contents of the tables, I think you have to use a for loop, accessing each cell. Something like this:
Code:
Dim t As Table
Set t = ActiveDocument.Tables(1)
Dim i As Integer, j As Integer
For i = 1 To t.Rows.count
For j = 1 To t.Columns.count
t.Cell(i, j).Range.Text = ""
Next j
Next i
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Table of contents
|
JasonMichelM | Mail Merge | 4 | 09-15-2017 06:31 PM |
| Creating a Table of Contents in a table format | Ellymoo | Word | 9 | 06-22-2017 08:15 AM |
| Table of contents with section breaks (text in table in header) | Dmonk | Word | 2 | 05-23-2017 04:29 AM |
Move table cell contents from one table to another table or cell in same table
|
donaldadams1951 | Word VBA | 4 | 02-04-2015 03:54 PM |
Table with Table of Contents as a Column
|
dynamictiger | Word Tables | 4 | 07-21-2014 10:16 PM |