Identifying when cursor is in a table

B

buncs

I know this is probably very basic, but I can't fathom it.

I am doing MoveUp a line at a time. How can I detect when I am in a table.
 
J

Jezebel

selection.Information(wdWithInTable)


buncs said:
I know this is probably very basic, but I can't fathom it.

I am doing MoveUp a line at a time. How can I detect when I am in a
table.
 
P

Peter Hewett

Hi

Try:

Selection.Information(wdWithInTable)

You can either use the Selection or a Range object. It returns True if you're
in a table.

HTH + Cheers - Peter
 

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