Hi, Pascal-
There have been a lot of threads here on the subject. So, you might want to search on the subject (if you haven't already).
Also, check out John Harvey, David Frankenbach, and John V. Petersen's web sites for info on ole automation.
Keep in mind that the answer to your question is also dependent on what version of Word. Office 97 (Word8) introduced Word (and us) to VBA for Word. There is a help file that you can choose to installed for VBA on your Office install CD. Another tip-use the macro recorder in Word and the check out the code it created to help you undestand what you need in VFP.
>Hi All,
>
>I am looking for some article or code giving some examples
>of OLE Automation with word.
>
>What I need to do actually is read fields from a word
>document created from a template. I dont feel like re-inventing
>the wheel, so any help or guidance would be appreciated :)
>
>Thanks in advance
>
>Pascal
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only