View Single Post
  #7  
Old August 20th, 2009, 06:48 PM posted to microsoft.public.word.formatting.longdocs
Stefan Blom[_3_]
external usenet poster
 
Posts: 4,556
Default Cross-referencing pages/headings from a different Word document using RD

I think the manual approach discussed in one of my previous messages is the
easiest way, then.

--
Stefan Blom
Microsoft Word MVP



"cmd" wrote in message
...
On Aug 19, 11:47 am, "Stefan Blom"
wrote:
The only reason I suggested using the header is because it minimizes the
risk that someone deletes the SET field inadvertently.

It is possible that the creation of SET fields could be automated somehow,
but I am not sure how that should be done.

Do you really need to reference *all* pages of the source document?

--
Stefan Blom
Microsoft Word MVP

"cmd" wrote in message

...
On Aug 19, 10:55 am, "Stefan Blom"



wrote:
RD fields can only be used with TOCs and indexes, I'm afraid.


What you can do is the following: In the source document (your training
manual), place the insertion point in the header for example. Then press
Ctrl+F9 to insert field delimiters, { }. Type SET myref and then insert
a
cross-reference to the page number of your heading. You will see
something
similar to { SET myref 4 } (where the 4 in this example is the
referenced
page number). Press F9 to update the field. Use Alt+F9 to show/hide
field
codes.


In the target (session plan), insert the following INCLUDETEXT field: {
INCLUDETEXT "C:\\folder1\\folder2\\docnamehere.doc" myref \! }. (Notice
that
you should use double backslashes to separate folder and file names.)


Repeat the above procedure for each additional cross-reference that you
need. Of course, you will have to pick a different variable name than
"myref" for the second and subsequent SET fields.


--
Stefan Blom
Microsoft Word MVP


"cmd" wrote in message


...


I am trying to write Session plans for a course I'm teaching. I have a
training manual and want to reference page numbers from the training
manual into the session planner. What I want is if I make a change in
the training manual and thus changing the page numbering to reflect
that automatically in the session plans.
I am familiar with the RD Fields and can import a TOC into the session
plans. But when I try to insert a cross-reference into the session
plan, the same Headings that are shown in the TOC are not available in
the cross-references.
Is there any way Word can do this?
I'm using Word 2003.


Cheers,
Christos


Stefan thanks for your input. this is actually what I've been trying
to do.
I'm using this syntax in the source document:
{ SET myref { PAGE \*MERGEFORMAT }}
and it works just fine. The problem is that I would have to make the
bookmarks for everypage manually.
Your suggestion to add it to the header was very interesting, but only
if I could automatically create a different bookmark for everypage. Is
it possible to do something like this:
{ SET myref{PAGE} { PAGE \*MERGEFORMAT }} or
{ SET myref{CHAPTER} { PAGE \*MERGEFORMAT }}
I know the second field doesn't exist but it would be usefull to add a
bookmark to the specific chapter.
Is it possible to this kind of collation?: myref{PAGE}
and create a bookmark name with the page or chapter attached to it?
I know the above doesn't work because I've tried it. But is there any
other way?

Cheers,
Christos


I don't want all of them I just want when I reference a chapter to get
the page number in the session timetable.
I'm not sure if it's possible. It would be if I could construct
bookmark names using fields as part of the name: i.e.
{ SET myref{PAGEREF _Ref238447828 \h} { PAGE }}
Anyone know if this is possible?

Cheers,
Christos