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.

Re: Bookmarks and references to bookmark in a table by Doug

Doug
Sat Oct 28 08:56:49 CDT 2006

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

"Seekar" <Seekar@discussions.microsoft.com> wrote in message
news:B83A5184-834D-475F-BA8D-86170FF1AAF9@microsoft.com...
> 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.