Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2014, 11:00 AM
Treespicer Treespicer is offline Can I create relative cross-references? Windows 7 64bit Can I create relative cross-references? Office 2007
Novice
Can I create relative cross-references?
 
Join Date: Apr 2014
Posts: 4
Treespicer is on a distinguished road
Default Can I create relative cross-references?

I have a document that I want to use as a template for test procedures. Each document has variable number of tests. Each test page looks something like this:



Code:
Test { SEQ Test } - <Test Name>

Setup:
<Setup figure>
Figure { SEQ Figure } - { REF TestName } test setup
Procedure:
<Procedure table>
Table { SEQ Table } - { REF TestName } test procedure
The bookmark "TestName" points to <Test Name>. Since the number of tests varies by project, I want to be able to copy/paste this page for every additional test. When I do that, the { SEQ } fields increment just fine. However the { REF } fields all reference the original <Test Name>.

Is there a way to copy the bookmarks with an incremental name, or some other way to make the { REF } fields point to the local <Test Name> without manually editing a bunch of bookmarks?
Reply With Quote
  #2  
Old 04-16-2014, 01:33 PM
Charles Kenyon Charles Kenyon is offline Can I create relative cross-references? Windows 7 64bit Can I create relative cross-references? Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

First, consider using AutoText instead of an external file.
fe
Bookmarks can only refer to one place in a document. Consider using the StyleRef Field instead. That would require that your TestName be set in the Style referenced by the StyleRef field. When a new test is marked with that Style, the next StyleRef field will change, but not previous ones (ones before the page on which the Style appears. The Style can be a character style rather than a paragraph style.
Reply With Quote
  #3  
Old 04-17-2014, 06:19 AM
Treespicer Treespicer is offline Can I create relative cross-references? Windows 7 64bit Can I create relative cross-references? Office 2007
Novice
Can I create relative cross-references?
 
Join Date: Apr 2014
Posts: 4
Treespicer is on a distinguished road
Default

It seems like that will be a good solution for my situation.

Thanks!
Reply With Quote
Reply

Tags
bookmarks reference field



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I create relative cross-references? Bookmarks & cross-references Suchoklates Word 1 09-19-2013 02:32 AM
Can I create relative cross-references? Cross-References acolussi Word 9 05-16-2013 02:11 AM
Cross reference - full vs relative context macron Word VBA 0 12-02-2010 08:54 PM
Can I create relative cross-references? CHALLENGE! Issue sorting data containing relative references on a separate tab lax828 Excel 3 01-07-2010 11:28 AM
Cross References egcharles Office 0 04-19-2009 06:20 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft