Update All (Cntrl A) Does Not Work

P

pom15595

For some reason I cannot seem to update fields (eg table / figure numbers) by
selecting the whole document using control A, then F9.

I can update these fields if I individually hightlight them or even if I
select/ highlight a section of the document that contains a field, but not
via control A.

This used to work, but seems not now.

Any ideas?
 
D

Doug Robbins - Word MVP

Does Ctrl+A select all of the text in the document?

Another way is to use Print Preview (assuming that you have the option to
Update fields on print set on). This method will update the fields in the
header and footer as well, while Ctrl+A will only select the text in the
body of the document.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
P

pom15595

Ctrl+A does select all of the text. However as indicated once all the text
is selected via Ctrl+A, then F9 (update) does not function.
 
P

pom15595

But when they are highlighted individually or as part of a selection (but not
via ctrl+A) they update okay.
 
P

pom15595

Ok, so what is preventing them from being selected by Ctrl+A? Or put another
way how can I ensure that they are selectred by Ctrl+A?

Note the fields in question are in the main body of the document (ie are not
in footers / headers).

Thanks
 
G

Graham Mayor

There are several layers in a document - imagine a pile of transparencies
each with some of the data stacked one above another. Ctrl+A will only
select items in the current story range (transparency). To attack all the
ranges you will need a macro. The sample macro at
http://www.gmayor.com/installing_macro.htm will work for most ranges, but
you may still need to add code to update contents tables, but we'll cross
that bridge when we come to it, as the extra processing slows down the
macro. Let's see how you get on with the suggested code first.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

pom15595

Many thanks

Your macro works, however I still don't understand however when I select /
highlight a section that includes fields then F9 - the fields are updated.
However if I select using Ctrl+A (which does mean select all - doesn't it)
then F9 - the fields are not updated.

Grateful for thoughts.

Thanks
 
G

Graham Mayor

No. It selects only 'all' of the current story range.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

pom15595

Thanks (again)

Where / how are the various "story ranges" defined / controlled?

Is it possible to view / interogate Word so that I can see what story ranges
are defined and what each contain?

Can you point me to somewhere that tells me more about story ranges?


Also does you macro work through headers & footers as well as the main body
of a document?

Many thanks
 
G

Graham Mayor

Yes the macro does work in header/footers - where it might fall down is when
there are reference tables e.g Tables of Contents, Tables of Figures etc
which *may* need extra processing.

To get a greater insight into the issues, you will need to delve into the
world of vba - http://msdn.microsoft.com/en-us/library/bb256041.aspx should
get you started on the immediate issue.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top