M
Marc Hillman
I have a relatively straightforward piece of VBA that
works fine in Word 2002, Word 2003 but not in Word 2000.
Anyone hazard a guess why ?
With ActiveDocument.Content.Find
.Text = "blah"
.Replacement.Text = "blah blah"
.Replacement.Font.Color = whatever
.Forward = True
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
if .Found = True then something ...
End With
Now the problem is that in all 3 environments, the text
replacement is occuring, however ".Found" does not return
True in the 2000 environment.
Why not, and is there a workaround?
works fine in Word 2002, Word 2003 but not in Word 2000.
Anyone hazard a guess why ?
With ActiveDocument.Content.Find
.Text = "blah"
.Replacement.Text = "blah blah"
.Replacement.Font.Color = whatever
.Forward = True
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
if .Found = True then something ...
End With
Now the problem is that in all 3 environments, the text
replacement is occuring, however ".Found" does not return
True in the 2000 environment.
Why not, and is there a workaround?