Find all Tables in a Word document

D

Dietmar

Hi

I want to create Index of all tables in a word document.
How can i find all tables in a word document in a vb function?
 
M

Mike

This may not require VB to do. If you create captions for your tables (not
sure how many you have), you can generate a Table of Figure (Insert,
Reference, Index & Tables), and change the caption label option to "Table".
To insert the table caption, click on the table, then Insert, Caption. If
you want you can modify the look of the caption as well.

You can also set auto captions for new Word Tables (this is a global, not
document specific, option).

Hope this helps,
Mike
 
Top