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 / July 2005

Tip: Looking for answers? Try searching our database.

How to reference page numbers in another document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KTWolfman - 14 Jul 2005 17:08 GMT
I don't even know if this is possible. Here's a shot.

I have two seperate documents, a Leader Guide and a User Guide. As one would
imagine, the Leader Guide has everything the User Guide has with the addition
of notes, PPT screenshots and various other hints. Currently, the Leader
Guide references page numbers in the User guide.

How can I make these referenced page numbers in the Leader Guide so they can
be automatically updated with any pagination change made to the User Guide?
Can I use an RD code in the Leader Guide to reference a bookmark in the User
Guide? Is there another reference code I can use? This is going to be a job
for a macro won't it... *sigh*

Thanks
KT
Dave Lett - 14 Jul 2005 18:59 GMT
Hi KT,

You don't need a macro.
Bookmark the item (i.e., text/graphic) that you want to reference.
In the Leader Guide, insert an INCLUDETEXT field that specifies the filename
and bookmark that you inserted in the User Guide.
BE SURE to use the ! switch.

HTH,
Dave

>I don't even know if this is possible. Here's a shot.
>
[quoted text clipped - 17 lines]
> Thanks
> KT
Dave Lett - 14 Jul 2005 19:05 GMT
Hi KT,

Sorry about that first post.

In the User Guide, insert a Page field. Bookmark the page field. You can
also apply hidden text formatting to it.
In the Leader Guide, insert an IncludeText field that references the
bookmark that you used for the Page field in the User Guide.

I have two test documents:
Test.doc
Reference me.doc

In Reference me.doc, I inserted a Page field and bookmarked (name="Test")
it.
In Test.doc I inserted the following field (note the exclamation point
switch)
{ INCLUDETEXT  "C:\\Test\\Reference me.doc" Test  \!  \* MERGEFORMAT }

HTH,
Dave

>I don't even know if this is possible. Here's a shot.
>
[quoted text clipped - 17 lines]
> Thanks
> KT
KTWolfman - 14 Jul 2005 20:07 GMT
Sooooo close!!! All of your responses have gotten me far and away closer than
I was, but I have one more question about the page numbers:
Say the Introduction is on page 5.
If I bookmark the page code in the footer it will show up as page 5 in the
Leader Guide... However, if the User Guide changes and now the Introduction
is on page 7, I would have to bookmark THAT page code instead... correct?
What I need is if the Introduction changes pages, that change is reflected
in the Leader Guide.

What I tried was to insert a hidden cross reference to the Introduction
heading showing the page number then tried the code below.
User Guide:
Introduction 5
(introduction is bookmarked as Intro and the 5 is a hidden cross reference
and bookmarked Page)

Leader Guide:
See the {INCLUDETEXT "C:\\UserGuide.doc" Intro /!} on page {INCLUDETEXT
"C:\\UserGuide.doc" Page /!}

This, however, does not work... not sure why. Wish it did. It keeps showing
as 1. Is it because you can't bookmark cross references?
Thanks
KT

> Hi KT,
>
[quoted text clipped - 39 lines]
> > Thanks
> > KT
Dave Lett - 14 Jul 2005 20:24 GMT
Hi KT,

Well, I wouldn't recommend putting the bookmarked PAGE field in the footer
for the exact reason that you specify: the text or the graphic has to be
able to move more freely.

It might not be working because you have to update the fields. That is, if
you are working on both document simultaneously, then the page number will
not update automatically on its own. Here's what has to happen:

Set up the fields properly (which I think you have).
Update the fields in the User Guide in some way (e.g., Ctrl + A and F9);
yes, that is updating it manually.
Switch to the Leader Guide and update the IncludeText Field.

Yes, it's cumbersome in some ways, but it's also probably the best Word can
do. There are problems with this method, too. Anyone who edits the document
can accidentally extend the bookmark to include text in the bookmark that
they never intended to be included and then your cross references would be
very, shall we say, "Unhappy". I was able to use this method, which I
learned from using a Help Authoring Tool named Doc-To-Help. At first it was
challenging, but I had full control over my documents without a problem of
editorial control and after getting used to the method, I think it worked
very well for the 3.5 years I was using the software.

HTH,
Dave

> Sooooo close!!! All of your responses have gotten me far and away closer
> than
[quoted text clipped - 69 lines]
>> > Thanks
>> > KT
KTWolfman - 14 Jul 2005 21:20 GMT
Sadly, that didn't work. I even put the {PAGE} code in instead of the cross
reference. (It was a big "duh" moment for me when I used that code instead...
oh well)
I fooled around a bit and have found that I can't bookmark any sort of field
for my purposes. Only real text can be pulled into the Leader Guide... any
fields, {page}, cross reference, etc., dosen't let me pull it in.
I even updated, saved and closed all documents then opened the Leader Guide
and updated again to no avail.
Thank you so much, I'm within striking range...
Thanks
KT

> Hi KT,
>
[quoted text clipped - 97 lines]
> >> > Thanks
> >> > KT
KTWolfman - 21 Jul 2005 15:23 GMT
Dave,
Thanks so MUCH!
After much hair pulling I've realized that I was using the wrong slash in
the switch. It can't get more maddening than that!!
Thank you, it all works like a charm now!!
have fun
KT

> Hi KT,
>
[quoted text clipped - 39 lines]
> > Thanks
> > KT
Dave Lett - 21 Jul 2005 22:04 GMT
Excellent. I'm glad to hear it.

Dave

> Dave,
> Thanks so MUCH!
[quoted text clipped - 49 lines]
>> > Thanks
>> > KT
 
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.