Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2006

Tip: Looking for answers? Try searching our database.

Bookmarks and references to bookmark in a table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seekar - 27 Oct 2006 18:20 GMT
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.
Doug Robbins - Word MVP - 28 Oct 2006 14:56 GMT
You should be able to do that by making use of:

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

Signature

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

> HI,
> I have the following requirement.  Would it be possible to do in a macro
[quoted text clipped - 16 lines]
> Thanks in advance,
> Seekar.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.