+ Reply to Thread
Results 1 to 4 of 4

Executing a Mail Merge with An Embedded Word File

  1. #1
    Registered User
    Join Date
    05-12-2012
    Location
    England
    MS-Off Ver
    MS Office 2007 Pro Plus
    Posts
    16

    Executing a Mail Merge with An Embedded Word File

    Hi All,

    I'm having some trouble performing a mail merge using an embedded Word file. Essentially I'm trying to build a macro to:
    • Open an embedded Word file (let's say the file is Object(2))
    • Connect the Export sheet to the word fie
    • Preview the results
    • Update the table of contents
    • Export the file as a PDF
    • Close the word application leaving the completed PDF open

    Here's the code I have so far but it doesn't work. Could anyone help me with where I'm going wrong? It opens the embedded word object in MS Word 2007 and also opens a MS Word 97 application but that's it!

    Please Login or Register  to view this content.
    Thanks
    Gareth

  2. #2
    Registered User
    Join Date
    05-12-2012
    Location
    England
    MS-Off Ver
    MS Office 2007 Pro Plus
    Posts
    16

    Re: Executing a Mail Merge with An Embedded Word File

    Forgot to mention, I would prefer the operation to be invisible to the user (i.e. visibility of the word application non-existent!)

    Thanks

  3. #3
    Registered User
    Join Date
    05-12-2012
    Location
    England
    MS-Off Ver
    MS Office 2007 Pro Plus
    Posts
    16

    Re: Executing a Mail Merge with An Embedded Word File

    Ok so I've got it to a point where it'll complete everything apart from destroying the WINWORD.exe process. Any ideas?

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-12-2012
    Location
    England
    MS-Off Ver
    MS Office 2007 Pro Plus
    Posts
    16

    Re: Executing a Mail Merge with An Embedded Word File

    Anyone have any cluses on this one. Still can;t get WINWORD.exe to close?

    Cheers
    Gareth

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1