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
 
Top