![]() |
Re: Update All (Cntrl A) Does Not Work
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 "Graham Mayor" wrote: > No. It selects only 'all' of the current story range. > > -- > <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > Graham Mayor - Word MVP > > My web site www.gmayor.com > Word MVP web site http://word.mvps.org > <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > > > "pom15595" <pom15595@discussions.microsoft.com> wrote in message > news:D958A113-5E50-49F1-BBB3-29BB32FB19D5@microsoft.com... > > 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 > > > > "Graham Mayor" wrote: > > > >> 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 > >> > >> My web site www.gmayor.com > >> Word MVP web site http://word.mvps.org > >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > >> > >> > >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message > >> news:F26A020C-D2E5-4B63-80C2-C51C72180C78@microsoft.com... > >> > 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 > >> > > >> > "Suzanne S. Barnhill" wrote: > >> > > >> >> Then they are NOT being selected by Ctrl+A. > >> >> > >> >> -- > >> >> Suzanne S. Barnhill > >> >> Microsoft MVP (Word) > >> >> Words into Type > >> >> Fairhope, Alabama USA > >> >> http://word.mvps.org > >> >> > >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message > >> >> news:A8875EEA-4907-4021-85A9-972078E647A2@microsoft.com... > >> >> > But when they are highlighted individually or as part of a selection > >> >> > (but > >> >> > not > >> >> > via ctrl+A) they update okay. > >> >> > > >> >> > "Suzanne S. Barnhill" wrote: > >> >> > > >> >> >> Perhaps the fields are locked or have been unlinked? > >> >> >> > >> >> >> -- > >> >> >> Suzanne S. Barnhill > >> >> >> Microsoft MVP (Word) > >> >> >> Words into Type > >> >> >> Fairhope, Alabama USA > >> >> >> http://word.mvps.org > >> >> >> > >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message > >> >> >> news:17DD72BA-4C82-42F3-8EDA-0C1C02A850C2@microsoft.com... > >> >> >> > 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. > >> >> >> > > >> >> >> > "Doug Robbins - Word MVP" wrote: > >> >> >> > > >> >> >> >> 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 > >> >> >> >> > >> >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message > >> >> >> >> news:AC50D451-64F4-45FE-9EDA-EE962406DEED@microsoft.com... > >> >> >> >> > 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? > >> >> >> >> > >> >> >> > > >> >> >> > >> >> >> . > >> >> >> > >> >> > > >> >> > >> >> . > >> >> > >> > >> > >> . > >> > > > . > |
Re: Update All (Cntrl A) Does Not Work
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 My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "pom15595" <pom15595@discussions.microsoft.com> wrote in message news:865CCE38-A7D9-4026-9F0B-CAAD35062F4D@microsoft.com... > 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 > > "Graham Mayor" wrote: > >> No. It selects only 'all' of the current story range. >> >> -- >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<> >> Graham Mayor - Word MVP >> >> My web site www.gmayor.com >> Word MVP web site http://word.mvps.org >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<> >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message >> news:D958A113-5E50-49F1-BBB3-29BB32FB19D5@microsoft.com... >> > 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 >> > >> > "Graham Mayor" wrote: >> > >> >> 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 >> >> >> >> My web site www.gmayor.com >> >> Word MVP web site http://word.mvps.org >> >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<> >> >> >> >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message >> >> news:F26A020C-D2E5-4B63-80C2-C51C72180C78@microsoft.com... >> >> > 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 >> >> > >> >> > "Suzanne S. Barnhill" wrote: >> >> > >> >> >> Then they are NOT being selected by Ctrl+A. >> >> >> >> >> >> -- >> >> >> Suzanne S. Barnhill >> >> >> Microsoft MVP (Word) >> >> >> Words into Type >> >> >> Fairhope, Alabama USA >> >> >> http://word.mvps.org >> >> >> >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message >> >> >> news:A8875EEA-4907-4021-85A9-972078E647A2@microsoft.com... >> >> >> > But when they are highlighted individually or as part of a >> >> >> > selection >> >> >> > (but >> >> >> > not >> >> >> > via ctrl+A) they update okay. >> >> >> > >> >> >> > "Suzanne S. Barnhill" wrote: >> >> >> > >> >> >> >> Perhaps the fields are locked or have been unlinked? >> >> >> >> >> >> >> >> -- >> >> >> >> Suzanne S. Barnhill >> >> >> >> Microsoft MVP (Word) >> >> >> >> Words into Type >> >> >> >> Fairhope, Alabama USA >> >> >> >> http://word.mvps.org >> >> >> >> >> >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in message >> >> >> >> news:17DD72BA-4C82-42F3-8EDA-0C1C02A850C2@microsoft.com... >> >> >> >> > 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. >> >> >> >> > >> >> >> >> > "Doug Robbins - Word MVP" wrote: >> >> >> >> > >> >> >> >> >> 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 >> >> >> >> >> >> >> >> >> >> "pom15595" <pom15595@discussions.microsoft.com> wrote in >> >> >> >> >> message >> >> >> >> >> news:AC50D451-64F4-45FE-9EDA-EE962406DEED@microsoft.com... >> >> >> >> >> > 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? >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> >> . >> >> >> >> >> >> >> > >> >> >> >> >> >> . >> >> >> >> >> >> >> >> >> . >> >> >> >> >> . >> |
All times are GMT. The time now is 06:17 AM. |
vBulletin, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.