#1
|
|||
|
|||
"Replace all" within a selection (Word 2007)
I realise that I must be doing something different each time, or possibly that my observations are incorrect, but it SEEMS that if I select text and then perform a 'replace all', sometimes Word replaces all instances in the entire document, and sometimes it ends the process with something like "Word has finished checking the selection. Would you like to check the rest of the document?" (I don't remember the exact text.)
Am I going mad, or am I doing something slightly different to get these different results? Thanks in advance, Paul |
#2
|
||||
|
||||
Hi Paul,
If you have some content selected that does not match the Find text when you execute a Find/Replace with 'ReplaceAll', Word will ask you whether to continue with the rest of the document after it's finished procesing the selected range. If you have a range selected that matches the Find text when you execute a Find/Replace with 'ReplaceAll', Word will ask you whether to continue from the beginning once it's finished processing from there to the end of the document. If nothing is selected, Word processes the whole document without asking.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Hi Paul,
Strange - what I seem to be observing is that despite having a portion of the document selected, the 'replace all' function replaces all instances throughout the entire document. Paul |
#4
|
||||
|
||||
Hi Paul,
That suggests your Find expression matches whatever is already selected - as per the 2nd scenario I described. Although I haven't tested it exhaustively, it may also be that the prompt only occurs if other examples do exist before wherever the insertion point is located (ie Word looks ahead before deciding whether to give the prompt).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
I'm still not sure this matches what I'm experiencing. Could it be that I need to "find" the first instance within the selection before "replacing all" within the selection?
|
#6
|
||||
|
||||
No, you shouldn't need to do that. In fact, doing so messes up the Find/Replace by changing the selection to the first found expression. From then on, the second scenario I posited takes over.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
replace all, selection |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
'Linking' entered information to other "cells" from an original "cell" in MS Word | Wade | Word | 6 | 09-03-2012 05:22 PM |
replace data from variable with "sub and super script" from excel to word by vba | krishnaoptif | Word VBA | 9 | 06-22-2012 05:08 AM |
Issues with Word 2007: making "--" into "—" | kg28 | Word | 1 | 02-04-2012 01:33 PM |
How to "replace" a word with same word but "Italic"? | Jamal NUMAN | Word | 4 | 07-08-2011 04:02 AM |
How to choose a "List" for certain "Heading" from "Modify" tool? | Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |