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
 

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