Bookmarks and references to bookmark in a table

S

Seekar

HI,
I have the following requirement. Would it be possible to do in a macro code?

1. I have 2 tables. Each has 3 rows and 2 columns.
2. From table2-row1, I would like to reference table1-row3. This includes
creation of bookmark in table1-row3 and reference the same from table-2-row1
3. By executing above step - In table-2-row-1 (reference) I would like to
have a proper text that mentions "At row - 3 of table-1....."(bookmark
location)
4. If I insert an additional row in table-1 before the bookmark row(row-3),
I would like the reference in table-2-row1 to mention "At row - 4 of
table-1....." automatically.

Need your assitance in getting the macro code for step-2, 3 and 4.

Thanks in advance,
Seekar.
 
D

Doug Robbins - Word MVP

You should be able to do that by making use of:

Selection.Information (wdEndOfRangeColumnNumber)
Selection.Information (wdEndOfRangeRowNumber)


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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