Detecting what table the insertion point is in

R

Roy

Hi all,

A quick question. How can I tell what table in a Word
document the insertion point is in. The macro I am
writing does a search for certain text items, when there
is a hit it needs to know what table the selected text is
in so that the table can be selected, and manipulated. I
need to be able to perform commands like:

ActiveDocument.Tables(????).Select

after I have done the find, question is how do I get the
index?

Any help appreciated, as I am not sure how to go about
this one.

Cheers

Roy
 
R

Roy

Thank you very much for your reply Greg - the link you
sent was spot on. Sorry for the delay in reply, been on
holiday.

Cheers

Roy
 

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