Hi
I have spent most of the day checking postings to the forum on how to use Microsoft Word from VFP and have ended the day pretty confused.
What I want to do is to use a Word file with database fields on it saved as a template. I then want VFP to get Word to open a new document from the template, close the template, replace the fields in the document with values from a table then bring Word to the front so the user can save, print or do whatever with the file. Any help would be appreciated!
By the way, when should I use:
CreateObject('Word.Application')
and when should I use:
CreateObject('Word.Basic')
TIA
John B.
I have spent most of the day checking postings to the forum on how to use Microsoft Word from VFP and have ended the day pretty confused.
What I want to do is to use a Word file with database fields on it saved as a template. I then want VFP to get Word to open a new document from the template, close the template, replace the fields in the document with values from a table then bring Word to the front so the user can save, print or do whatever with the file. Any help would be appreciated!
By the way, when should I use:
CreateObject('Word.Application')
and when should I use:
CreateObject('Word.Basic')
TIA
John B.