Finding the Table Index for Deletion

L

Lettia

I need to find the table index number for a specific table
in a word document so that I can delete that table if a
checkbox located within that table is selected. The only
delete method that I can find for tables works off the
Tables collection, but you need the index number in order
to use it. Help would be greatly appreciated.
 
J

Jonathan West

Lettia said:
I need to find the table index number for a specific table
in a word document so that I can delete that table if a
checkbox located within that table is selected. The only
delete method that I can find for tables works off the
Tables collection, but you need the index number in order
to use it. Help would be greatly appreciated.

Hi Lettia,

Take a look here

Determine the index number of the current paragraph, table,
section ...
http://word.mvps.org/FAQs/MacrosVBA/GetIndexNoOfPara.htm
 
Top