Determine the table

M

Mykhaylo Khodorev

I have a question.
I want to find out whether a some word is in table or not. Is it
possible? This word is unique in whole document. If it's possible it would
be fine to get the table where this word is (if it is)
Thanks in advance
Mykhaylo Khodorev
 
D

Dave Lett

Hi Mykhaylo,

You can use something like the following:

MsgBox Selection.Words(1).Information(wdWithInTable)

HTH
 
M

Mykhaylo Khodorev

Thank you.
If I have several table how to determine table where this word is in?
Mykhaylo Khodorev
 

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