How to tell if a given selection is within a table?

R

Robin Tucker

How can I tell if a given range is within a table cell?

What I would like to do is add a new row to the table when I find that my
given range is within a table. So I need to be able to get a reference to
the table the range is contained within (if there are multiple embedded
table, the "leaf" table is all that is required, not a whole stack of them,
or the topmost).

Thanks


Robin
 

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