Well I guess it's bug by definition if Word crashes, but I can't reproduce
it. (Word 2000).
Presumably there's more to your original code, since that macro doesn't
actually do anything. Are you saying Word doesn't crash if you use some
symbol other than (c) ?
Well, here you go. I work on a software development team
with a product that uses Word macros for some
integration, and we ran into this problem. It's a small
problem for us because the case is really uncommon, but
does appear to be a bug in Word, but I couldn't find any
info on it online. Here's what you have to do:
1. Open a new Word Document.
2. Type (c) and let it be replaced by © by Word (this is
in the autocorrect as you type options by default).
3. Run a macro with the following code:
Sub CrashMe()
Dim rng As Range
Set rng = ActiveDocument.Range(Selection.Start,
Selection.End)
With rng.Find
.Text = "©"
.Forward = False
.Execute
End With
ActiveDocument.Close wdDoNotSaveChanges
End Sub
Error: Word crashes. It appears that this has to be done
with a range object and the .Forward propery of the Find
object has to be set to false. It doesn't crash if you
use a Selection object to do the find.