return current table number

C

Cooz

Hi everyone,

I have a document with ten tables. I need a VBA function that returns the
number of the table in which the cursor currently stands, so the function
must return 1 if the cursor is in the first table, and 10 if the cursor is in
the last table.
Of course the function should be independent of the actual number of tables.

Thank you,
Cooz
 

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