I found out the problem, my Word entries from VFP are to shape boxes:
loWord.ActiveDocument.Shapes("Text Box 6").Select
That is where I enter my data. Now when I ask Word to replace all the operation goes ok outside of VFP when I am in word 97 editing the document. Inside VFP I have to select the box and then do the replace for it to work. I am wondering if this is a bug or what. I can select my boxes in order to replace the text, but it will be a pain.
Bret
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope