> > it's locating an replacing that I need the actual creation of the Word > Object I have down pat.
You don't have to locate it and replace it, create a Merge document. I would do it like this:
1. Use VFP to create a CSV text file as a sample
2. Create a Word document (or use a copy of an existing).
3. Use the Mail Merge capability of Word to place the fields from your CSV file in your form.
4. Merge it to check it out.
If you record a Macro in word when you do the last 2 steps, you can see (essentially) the language you will need in a VFP program to automate the process. (And the PDF of the "Automation" book will make more sense.)
The only thing you may have trouble with is the underlines. You can underline the merge fields, and those will underline just fine, but the length of the underline will (naturally) be variable with the data. If the lines being all the way to the end of the row are necessary, a sneaky trick is to use a right-tab with an underline leader at the end of each row.
hth ----- - - - Ken
©2003 Ken Kixmoeller (J/S) |