Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Patti Patti is offline
external usenet poster
 
Posts: 12
Default missing and double figures in cross-reference list

I am working with a doc that is about 15MB. This happens repeatably. This
issue happens in both the compatibility mode and Word 2007, both doc and docx
formats. I have installed sp1 for Office.

I do a fair amount of editing, including inserting new figures with
captions, and updating all links. I have track changes on. After a while,
when trying to insert a cross-reference, the list of figure references to
insert becomes corrupt. Every other figure is missing from the list and the
references that are there have double entries. The only way to fix this
problem is to accept all changes.

Anyone else happen to see this problem and know of any behaviour to avoid to
stop this problem from occuring? Seems as if it is bumping into some kind of
limit or overflowing some variable.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
PamC via OfficeKB.com PamC via OfficeKB.com is offline
external usenet poster
 
Posts: 582
Default missing and double figures in cross-reference list

This happens to me. The list is not corrupt (that is, there is no software
error). It is just that Word does not renumber until changes have been
accepted--as you have discovered. To prevent the problem, I avoid inserting
caption numbers while track changes is on, or to solve it I accept the change
on each affected caption number (field). That way I get a reliable list in
the cross reference dialog.

Does anyone have a better solution?

PamC


patti wrote:
I am working with a doc that is about 15MB. This happens repeatably. This
issue happens in both the compatibility mode and Word 2007, both doc and docx
formats. I have installed sp1 for Office.

I do a fair amount of editing, including inserting new figures with
captions, and updating all links. I have track changes on. After a while,
when trying to insert a cross-reference, the list of figure references to
insert becomes corrupt. Every other figure is missing from the list and the
references that are there have double entries. The only way to fix this
problem is to accept all changes.

Anyone else happen to see this problem and know of any behaviour to avoid to
stop this problem from occuring? Seems as if it is bumping into some kind of
limit or overflowing some variable.


--
Message posted via http://www.officekb.com

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default missing and double figures in cross-reference list

Hi patti,

PamC has already given you an overview of the cause of the problem. Here's a macro that accepts all the tracked changes for fields
(eg cross-references, page #s, etc) in the document:

Sub AcceptTrackedFields()
Dim oRange As Word.Range ' All Range objects - includes ranges in the body, headers, footers & shapes
Dim Fld As Field ' Field Object
With ActiveDocument
' Loop through all range objects and accept tracked changes on fields
For Each oRange In .StoryRanges
Do
For Each Fld In oRange.Fields
Fld.Select
Selection.Range.Revisions.AcceptAll
Next
Set oRange = oRange.NextStoryRange
Loop Until oRange Is Nothing
Next
End With
End Sub

--
Cheers
macropod
[MVP - Microsoft Word]


"patti" wrote in message ...
I am working with a doc that is about 15MB. This happens repeatably. This
issue happens in both the compatibility mode and Word 2007, both doc and docx
formats. I have installed sp1 for Office.

I do a fair amount of editing, including inserting new figures with
captions, and updating all links. I have track changes on. After a while,
when trying to insert a cross-reference, the list of figure references to
insert becomes corrupt. Every other figure is missing from the list and the
references that are there have double entries. The only way to fix this
problem is to accept all changes.

Anyone else happen to see this problem and know of any behaviour to avoid to
stop this problem from occuring? Seems as if it is bumping into some kind of
limit or overflowing some variable.


  #4   Report Post  
ledzaco ledzaco is offline
Junior Member
 
Posts: 0
Default

Hi micropod,

Did the macro work in your case? I mean, it really updates the references but it does not correct the ones that are "corrupt". Has someone found the solution for this?

Thanks in advance.

Jorge

Quote:
Originally Posted by macropod[_2_] View Post
Hi patti,

PamC has already given you an overview of the cause of the problem. Here's a macro that accepts all the tracked changes for fields
(eg cross-references, page #s, etc) in the document:

Sub AcceptTrackedFields()
Dim oRange As Word.Range ' All Range objects - includes ranges in the body, headers, footers & shapes
Dim Fld As Field ' Field Object
With ActiveDocument
' Loop through all range objects and accept tracked changes on fields
For Each oRange In .StoryRanges
Do
For Each Fld In oRange.Fields
Fld.Select
Selection.Range.Revisions.AcceptAll
Next
Set oRange = oRange.NextStoryRange
Loop Until oRange Is Nothing
Next
End With
End Sub

--
Cheers
macropod
[MVP - Microsoft Word]


"patti" wrote in message ...
I am working with a doc that is about 15MB. This happens repeatably. This
issue happens in both the compatibility mode and Word 2007, both doc and docx
formats. I have installed sp1 for Office.

I do a fair amount of editing, including inserting new figures with
captions, and updating all links. I have track changes on. After a while,
when trying to insert a cross-reference, the list of figure references to
insert becomes corrupt. Every other figure is missing from the list and the
references that are there have double entries. The only way to fix this
problem is to accept all changes.

Anyone else happen to see this problem and know of any behaviour to avoid to
stop this problem from occuring? Seems as if it is bumping into some kind of
limit or overflowing some variable.
  #5   Report Post  
ledzaco ledzaco is offline
Junior Member
 
Posts: 0
Smile

Ok, I just restarted Word and the problem was solved. By the way, it is the first time that happens to me and an application called Mendeley Desktop was also running meanwhile. I have found in related forums that this program causes Word instability... weird .

Cheers.

Quote:
Originally Posted by ledzaco View Post
Hi micropod,

Did the macro work in your case? I mean, it really updates the references but it does not correct the ones that are "corrupt". Has someone found the solution for this?

Thanks in advance.

Jorge
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some footnotes are missing in the cross-reference list. Dielita McKnight Microsoft Word Help 1 April 22nd 08 05:53 PM
I need to cross reference a list of figures Othman Microsoft Word Help 2 August 13th 06 11:06 PM
_ Word2000-->2003, Can not cross-reference to Tables and Figures Botkyrka; a part of Europe Formatting Long Documents 2 December 15th 04 11:25 AM
Word2000-->2003, Can not cross-reference to Tables and Figures Botkyrka; a part of Europe Formatting Long Documents 2 December 9th 04 11:45 AM
Word2000-->2003, Can not cross-reference to Tables and Figures Botkyrka; a part of Europe Formatting Long Documents 1 December 8th 04 02:18 PM


All times are GMT +1. The time now is 12:55 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"