Thanks again Borislav.
>>>>Greeting.
>>>>
>>>>I know this has been asked many times, but I can't remember where I can find the code.
>>>>Please point me to an example of VFPx.x calling MS Word.
>>>>
>>>>TIA.
>>>
>>>How?
>>>Just run WinWord.EXE or use automation to call and manipulate Word Documents?
>>
>>Thanks Borislav.
>>
>>the second one.
>
>oWord = CREATEOBJECT([Word.Application])
>*** 1. Open old document
>oWord.Documents.Open([full path and name to existing Word document])
>
>*** 2. Create a new Word document
>oWord.Documents.Add()
>
>.....
>oWord.Documents.Save() ** Save document
>
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville
No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)