Results 1 to 3 of 3

Thread: [WORD] Execute MailMerge in VB6

Threaded View

  1. #1

    Thread Starter
    Junior Member Aeric's Avatar
    Join Date
    Nov 2006
    Posts
    28

    Unhappy [WORD] Execute MailMerge in VB6

    I am trying to use VB6 to open a MailMerge document.
    This Word document is connected to a Text file as datasource.

    When I try to open c:\source\letter1.doc, a message box will pop up:
    Opening this document will run the following SQL command:
    SELECT * FROM c:\source\LETTER1.TXT
    Data from your database will be placed in the document. Do you want to continue?

    [ Show Help >> ]

    [ Yes ] [ No ]
    I want to use VB to execute the mailmerge and generate a new file name mail.doc and show in print preview mode.

    Please help.
    Last edited by Aeric; Jul 21st, 2008 at 03:24 PM. Reason: update link

Posting Permissions

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



Click Here to Expand Forum to Full Width