Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP/Word 2003 Merge Exception
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00887491
Message ID:
00887498
Views:
8
>Greetings,
>
>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

Look at Message ID: 880814
Previous
Reply
Map
View

Click here to load this message in the networking platform