A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Word 2002 - problem wih linked items in INCLUDETEXT



 
 
Thread Tools Display Modes
  #1  
Old May 8th, 2005, 06:31 AM
Michael
external usenet poster
 
Posts: n/a
Default Word 2002 - problem wih linked items in INCLUDETEXT

Hi,

A problem has developed in with my Word links that I hope someone can help
me with.

I have a large set of documentation in Word format. There are a few chapters
that are included in more than one document. What I have done is create
these chapters as separate documents, and included them in the required
documents using { INCLUDTEXT "Chapter2.doc" }

So far so good.

Within the linked chapter (Chapter2.doc in the example above), there are
cross reference links to bookmarks WITHIN the same document - i.e.,
Chapter2.doc has cross references to bookmarks within Chapter2.doc

Until now this has worked with no problems - Chapter2 starts on page 15 in
one document, and the bookmark is on page 25; in another document Chapter2
starts on page 20 and the bookmark is on page30.

Today, when I opened the same document, all cross references within
Chpater2 are listed on the wrong page number - if Chapter 2 runs from pages
15-40, all cross references within Chapter2 point to page 40.

I tried updating fields and reinserting the linked document - no luck

Does anyone know how this error suddenly appeared, and how I can get rid of
it?


Michael



  #2  
Old May 13th, 2005, 03:43 PM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default

Hi Michael,

Are you certain the cross-references still exist as REF fields, and that the
bookmarks are still present? Are you certain the fields are not locked
(Ctrl+F11 locks; Ctrl+Shift+F11 unlocks)? (Open the original document to check
this).

If that's the case, are you sure the IncludeText field in the target document
has not been converted to plain text, or locked?

Which version of Word are we dealing with?

A problem has developed in with my Word links that I hope someone can help
me with.

I have a large set of documentation in Word format. There are a few chapters
that are included in more than one document. What I have done is create
these chapters as separate documents, and included them in the required
documents using { INCLUDTEXT "Chapter2.doc" }

So far so good.

Within the linked chapter (Chapter2.doc in the example above), there are
cross reference links to bookmarks WITHIN the same document - i.e.,
Chapter2.doc has cross references to bookmarks within Chapter2.doc

Until now this has worked with no problems - Chapter2 starts on page 15 in
one document, and the bookmark is on page 25; in another document Chapter2
starts on page 20 and the bookmark is on page30.

Today, when I opened the same document, all cross references within
Chpater2 are listed on the wrong page number - if Chapter 2 runs from pages
15-40, all cross references within Chapter2 point to page 40.

I tried updating fields and reinserting the linked document - no luck

Does anyone know how this error suddenly appeared, and how I can get rid of
it?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #3  
Old May 15th, 2005, 02:44 PM
Michael
external usenet poster
 
Posts: n/a
Default

Cindy, (or any other smart helpful people on this list...)

Thanks for your suggestions.

I'm using Word 2002, SP3 on Windows XP Home Edition.

I double-checked that the bookmarks are present and unlocked in the child
document, but the links still aren't displaying correctly in the parent
document.

For example, in the child document there is a cross reference {PAGEREF
BOOKMARK1 \p}

In the child document, this is displayed as "on page 30"
In the Parent document, it is displayed as "Below"

If I remove the \p qualifier, the parent document lists the last page number
that the Included text runs to (i.e., The INCLUDETEXT runs from page
140-200, the link now points to page 200, even though the bookmark is on
page 170)

I'm wondering if this is related to FieldCalcSecurityLevel registry entry as
outlined on MS Knowledge base on http://support.microsoft.com/?kbid=330079
I tried entering and modifying this registry entry, but so far it didn't
seem to make any difference at all.

I have a deadline looming and this problem has put me behind in my work by
several days, any ideas or suggestions would be GREATLY appreciated.

TIA,


Michael

"Cindy M -WordMVP-" wrote in message
news:VA.0000ad02.009b5457@speedy...
Hi Michael,

Are you certain the cross-references still exist as REF fields, and that
the
bookmarks are still present? Are you certain the fields are not locked
(Ctrl+F11 locks; Ctrl+Shift+F11 unlocks)? (Open the original document to
check
this).

If that's the case, are you sure the IncludeText field in the target
document
has not been converted to plain text, or locked?

Which version of Word are we dealing with?

A problem has developed in with my Word links that I hope someone can
help
me with.

I have a large set of documentation in Word format. There are a few
chapters
that are included in more than one document. What I have done is create
these chapters as separate documents, and included them in the required
documents using { INCLUDTEXT "Chapter2.doc" }

So far so good.

Within the linked chapter (Chapter2.doc in the example above), there are
cross reference links to bookmarks WITHIN the same document - i.e.,
Chapter2.doc has cross references to bookmarks within Chapter2.doc

Until now this has worked with no problems - Chapter2 starts on page 15
in
one document, and the bookmark is on page 25; in another document
Chapter2
starts on page 20 and the bookmark is on page30.

Today, when I opened the same document, all cross references within
Chpater2 are listed on the wrong page number - if Chapter 2 runs from
pages
15-40, all cross references within Chapter2 point to page 40.

I tried updating fields and reinserting the linked document - no luck

Does anyone know how this error suddenly appeared, and how I can get rid
of
it?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)



  #4  
Old May 16th, 2005, 01:25 PM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default

Hi Michael,

OK, open a "child" document in its own window, make sure the references are
displaying correctly.

Now open the "parent" document, display the field codes (without trying to
update the fields, first), go to the IncludeText for that document and add the
\! switch at the end of the field code. Update the field and see if anything
changes?

I'm using Word 2002, SP3 on Windows XP Home Edition.

I double-checked that the bookmarks are present and unlocked in the child
document, but the links still aren't displaying correctly in the parent
document.

For example, in the child document there is a cross reference {PAGEREF
BOOKMARK1 \p}

In the child document, this is displayed as "on page 30"
In the Parent document, it is displayed as "Below"

If I remove the \p qualifier, the parent document lists the last page number
that the Included text runs to (i.e., The INCLUDETEXT runs from page
140-200, the link now points to page 200, even though the bookmark is on
page 170)

I'm wondering if this is related to FieldCalcSecurityLevel registry entry as
outlined on MS Knowledge base on http://support.microsoft.com/?kbid=330079
I tried entering and modifying this registry entry, but so far it didn't
seem to make any difference at all.

I have a deadline looming and this problem has put me behind in my work by
several days, any ideas or suggestions would be GREATLY appreciated.


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

  #5  
Old May 16th, 2005, 02:47 PM
Michael
external usenet poster
 
Posts: n/a
Default

I had tried this before, but tried it again - when I add the \! switch, the
Parent document lists the page number that appears in the child document
(Page 30), not the page that the bookmark appears on in the Parent document.
(I think that this is how the \! switch is supposed to work)

If I remove the \! switch and update fields, the page references all point
to the page that the INCLUDETEXT starts on (which is different from before,
before it was pointing to the last page of the INCLUDETEXT).

If I update fields again, it points to the last page of the includetext.

In either case, it's pointing to the wrong page

Any other thoughts?

M

"Cindy M -WordMVP-" wrote in message
news:VA.0000ad52.0173036e@speedy...
Hi Michael,

OK, open a "child" document in its own window, make sure the references
are
displaying correctly.

Now open the "parent" document, display the field codes (without trying to
update the fields, first), go to the IncludeText for that document and add
the
\! switch at the end of the field code. Update the field and see if
anything
changes?

I'm using Word 2002, SP3 on Windows XP Home Edition.

I double-checked that the bookmarks are present and unlocked in the child
document, but the links still aren't displaying correctly in the parent
document.

For example, in the child document there is a cross reference {PAGEREF
BOOKMARK1 \p}

In the child document, this is displayed as "on page 30"
In the Parent document, it is displayed as "Below"

If I remove the \p qualifier, the parent document lists the last page
number
that the Included text runs to (i.e., The INCLUDETEXT runs from page
140-200, the link now points to page 200, even though the bookmark is on
page 170)

I'm wondering if this is related to FieldCalcSecurityLevel registry entry
as
outlined on MS Knowledge base on
http://support.microsoft.com/?kbid=330079
I tried entering and modifying this registry entry, but so far it didn't
seem to make any difference at all.

I have a deadline looming and this problem has put me behind in my work
by
several days, any ideas or suggestions would be GREATLY appreciated.


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply
in the newsgroup and not by e-mail :-)



  #6  
Old May 22nd, 2005, 08:02 AM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default

Hi Michael,

I had tried this before, but tried it again - when I add the \! switch, the
Parent document lists the page number that appears in the child document
(Page 30), not the page that the bookmark appears on in the Parent document.
(I think that this is how the \! switch is supposed to work)

If I remove the \! switch and update fields, the page references all point
to the page that the INCLUDETEXT starts on (which is different from before,
before it was pointing to the last page of the INCLUDETEXT).

If I update fields again, it points to the last page of the includetext.

In either case, it's pointing to the wrong page

Right. OK, I just tried a quick test on my installation (Word 2003) and I'm
not seeing the problem. So I'm guessing this may be an issue in this set of
documents.

If you:

create a new document with a few pages (type this then, press Enter:
rand(30,6)

Then insert a heading at the top, and a cross-reference to that heading with
the page number at the bottom. Now save and close.

Now create another multi-page document and insert/file with link for the first
file you created...

...does the field behave correctly?

If it does, then we can be reasonably sure we're dealing with some kind of
structural damage in one or the other document.

In this case, first try inserting a link to a "chapter" document into the
second test document. Does it behave correctly in this document?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #7  
Old May 22nd, 2005, 01:35 PM
Michael
external usenet poster
 
Posts: n/a
Default

Hi Cindy,

This is a problem that developed several months after I started using this
method to insert chapters into other documents - however, since the problem
appeared, it is happening on all my documents - I tried creating new
documents, importing different chapters into new or old documents - the
bookmarked cross-references are not working on any of the documents

It is possible that it is related to my version of Word (2002, SP3), or
possibly related in a patch or upgrade that I installed (although I don't
specifically remember installing a patch recently)

If you want, I could send you (off list) an example of the documents with
the problem.

Any other ideas suggestions?


Michael

"Cindy M -WordMVP-" wrote in message
news:VA.0000adda.00537ad9@speedy...
Hi Michael,

I had tried this before, but tried it again - when I add the \! switch,
the
Parent document lists the page number that appears in the child document
(Page 30), not the page that the bookmark appears on in the Parent
document.
(I think that this is how the \! switch is supposed to work)

If I remove the \! switch and update fields, the page references all
point
to the page that the INCLUDETEXT starts on (which is different from
before,
before it was pointing to the last page of the INCLUDETEXT).

If I update fields again, it points to the last page of the includetext.

In either case, it's pointing to the wrong page

Right. OK, I just tried a quick test on my installation (Word 2003) and
I'm
not seeing the problem. So I'm guessing this may be an issue in this set
of
documents.

If you:

create a new document with a few pages (type this then, press Enter:
rand(30,6)

Then insert a heading at the top, and a cross-reference to that heading
with
the page number at the bottom. Now save and close.

Now create another multi-page document and insert/file with link for the
first
file you created...

..does the field behave correctly?

If it does, then we can be reasonably sure we're dealing with some kind of
structural damage in one or the other document.

In this case, first try inserting a link to a "chapter" document into the
second test document. Does it behave correctly in this document?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)



  #8  
Old May 24th, 2005, 09:02 AM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default

Hi Michael,

This is a problem that developed several months after I started using this
method to insert chapters into other documents - however, since the problem
appeared, it is happening on all my documents - I tried creating new
documents, importing different chapters into new or old documents - the
bookmarked cross-references are not working on any of the documents

In this case, I would suspect a problem in your Normal.dot template. Try
renaming Normal.dot to NormalOLD.dot.

Now create a new set of documents for testing the basic principle. Do NOT try
using any documents you already have.

If this still doesn't help, try booting Word in SAFE MODE, create a new set of
documents and test. If it works correctly now, then you're probably looking at
a third-party tool interfering (although I can't imagine what it would be, or
how it could be having this effect).

It is possible that it is related to my version of Word (2002, SP3), or
possibly related in a patch or upgrade that I installed (although I don't
specifically remember installing a patch recently)

If you want, I could send you (off list) an example of the documents with
the problem.

Any other ideas suggestions?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #9  
Old May 24th, 2005, 10:41 AM
Michael
external usenet poster
 
Posts: n/a
Default

Cindy,

Thanks again for taking the time to help pinpoint the problem - but still no
luck

I renamed Normal.dot then created 2 documents:

Chapter2.doc has 3 pages with a link on the first page to a bookmark on page
3.
The link is {PAGEREF Heading2 \p \h"} and in Chapter2.doc displays the text
"on page 3"

I then closed Chapter2.doc, and created a new document MainDocument.doc with
an INCLUDETEXT to Chapter2.doc

In MainDocument.doc, the link is displayed as "below" (even though the
bookmark appears on page 4 of MainDocument.doc)


I then closed Word and opened in Safe mode and repeated the above with new
documents - I am still getting the wrong links


Any other suggestions?
If you want to see an example of the problem, I placed a copy of the tests I
created at the following link:
http://sedleywrites.info/Files/WordLinkTest3.zip

TIA,


M

"Cindy M -WordMVP-" wrote in message
news:VA.0000adf3.0060687b@speedy...
Hi Michael,

This is a problem that developed several months after I started using
this
method to insert chapters into other documents - however, since the
problem
appeared, it is happening on all my documents - I tried creating new
documents, importing different chapters into new or old documents - the
bookmarked cross-references are not working on any of the documents

In this case, I would suspect a problem in your Normal.dot template. Try
renaming Normal.dot to NormalOLD.dot.

Now create a new set of documents for testing the basic principle. Do NOT
try
using any documents you already have.

If this still doesn't help, try booting Word in SAFE MODE, create a new
set of
documents and test. If it works correctly now, then you're probably
looking at
a third-party tool interfering (although I can't imagine what it would be,
or
how it could be having this effect).

It is possible that it is related to my version of Word (2002, SP3), or
possibly related in a patch or upgrade that I installed (although I don't
specifically remember installing a patch recently)

If you want, I could send you (off list) an example of the documents with
the problem.

Any other ideas suggestions?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)



  #10  
Old May 26th, 2005, 10:39 AM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default

Hi Michael,

Chapter2.doc has 3 pages with a link on the first page to a bookmark on page
3.
The link is {PAGEREF Heading2 \p \h"} and in Chapter2.doc displays the text
"on page 3"

OK, now I understand how you're setting this up. This is different from your
original problem description. I downloaded the file(s) and can see this problem,
here. I class this as a bug, and I'll pass it up the
line. There certainly won't be a quick fix forth-coming, I'm afraid. However...

If you remove the \p switch from the PageRef field you should get the page
number. Not an ideal solution, I know, but better than having to do it all by
hand, I should think. If you really need the above/below option, you could nest
the PageRef field in an IF field that tests if { PAGE } = { PageRef } and
displays "Below" if it does.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I keep two words together? LAD General Discussion 2 April 15th, 2005 12:25 AM
word xp crashes after macros are recorded kharris0405 General Discussion 3 January 11th, 2005 11:50 PM
Excel Linked to Word, Saving Problem Nelson General Discussion 2 August 5th, 2004 02:33 PM
How to run word and pass a mail merge values and fax it to the recipient Belinda Mailmerge 2 June 13th, 2004 12:49 AM
Pressing F9 in Word 2002 doesn't update a linked graphic Jared General Discussion 2 May 25th, 2004 04:07 PM


All times are GMT +1. The time now is 10:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.