Hi Neil,
FWIW, repeating the 'Steps to Reproduce', even with the unlikely document content <g>, Word 2007 SP1 doesn't hang for me on doing
the replace.
It's possible that there's something in the documents that Word is 'seeing' that does this. Do you have webpage/blog/Office Live
Workspace/file share site, etc that you can use to provide a link to a .docX document that you're seeing this in?
If you start Word 2007 in safe mode (hold ctrl key while starting Word and repeat the 'steps to reproduce' do you get the same hang?
One of the possibilities in the original messages in this thread is that it may be related to specific language settings or with a
mix of Left-to-Right and Right-to-left languages being involved in a document.
What is the build level for Word 2007 (Alt, F, I, R)?
=========
I don't think the problem is in the document at all. It worked fine
before applying Service Pack 1. Locating the portion in the document
where the bug strikes can help with creating a workaround.
If I cut the soft hyphen (either by itself, or with some more text following
it) and then use "Undo", that fixes the problem for the moment, too.
But if I close and re-open the file, the problem reappears.
I have seen something similar too.
When reproducing the bug as described in an earlier message ...
STEPS TO REPRODUCE:
1. Open the identified affected version of Word.
2. (Optional for readability, does not affect test case) On the Home
tab, in the Paragraph group, click Show/Hide to show formatting marks.
3. Type the word "Test"
4. Press the Enter key
5. Press the Tab key
6. Press the Enter key
7. Press Ctrl+- (Control + Hyphen) twice.
8. Press the Enter key
9. On the Home tab, in the Editing group, click Replace.
10. For 'Find what', enter "Test", and for 'Replace with', enter "Testing"
11. Click Replace All.
12. Observe that Word stops responding. Task Manager can be used to
verify that Word is consuming as much CPU as possible (up to 100%)
... I noticed that I can copy the first conditional hyphen to the
clipboard and paste it between the two consecutive conditional hyphens,
then delete the first conditional hyphen, and suddenly the Replace All
button will work without causing Word 2007 SP1 to freeze.
I have developed a workaround for my problem files. I have discovered
that if I replace each space character with a space character, it will
trick Service Pack 1 into letting me perform the replacement that
otherwise would cause Word 2007 SP1 to freeze up. This workaround does
not work for the document with the two conditional hyphens, however.
It appears to me that something in SP1 is causing the Find and Replace
Dialog Box to become corrupted (or possibly something in SP1 is causing
Word 2007 to corrupt some documents when it opens them).
Thanks again.
Neil >>
--
Bob Buckland ?
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*