Hi David,
After receiving your last message, I converted every function to a Method on my form and added a oWord and oWordDoc property. This way, I am sure of what objects I am dealing with.
In addition, my version of Office97 was the original and I upgraded that to SR1. ( I've been trying to download Office97 SR2 but, that MS web page is not working properly. )
Regardless, I am still having the same problem. It appears that the oWordDoc object gets corrupted somewhere along the line. I've tried commenting out the oWordDoc.PageSetup.LineNumbering.Active = .F. but then the problem reappears in a subsequent line.
Have you tried doing this in VFP6?