Hello,
This is my code:
oMW=Createobject("word.application")
oMW.documents.open('Letter.doc')
oDoc = oMW.activedocument
oDoc.mailmerge.execute
When it tries to execute the mail merge I get Ole Dispatch Error: "This method or property not available because the document is not a mail merge main document"
The doc was created in Word 2003, the datasource dbf is correct and the merge fields are in place on the document.
Help!
Many thanks,
Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson
Great advice from a questionable source...