From: Andrew Moore <andrewmoore@dial.pipex.com>
Subject: Link forms 4.5 to word97
Date: 1997/09/09
Message-ID: <3415B08B.42BBE2A@dial.pipex.com>#1/1
X-Priority: 3 (Normal)
X-Complaints-To: news@soap.uunet.pipex.com
X-Trace: soap.uunet.pipex.com 873836800 14683 (None) 193.130.244.34
Organization: UUNet UK server (post doesn't reflect views of UUNet UK)
Newsgroups: comp.databases.oracle.tools



I am trying to link forms 4.5 with word 97 via OLE

I have the following word macro....
    Sub merge()
     ActiveDocument.MailMerge.OpenDataSource "C:\2.txt"
     ActiveDocument.MailMerge.Destination = wdSendToNewDocument
     ActiveDocument.MailMerge.DataSource.FirstRecord =
wdDefaultFirstRecord
     ActiveDocument.MailMerge.DataSource.LastRecord =
wdDefaultLastRecord
     ActiveDocument.MailMerge.Execute
    End Sub
but cannot work out how to convert this to forms ole functions..

Any ideas?
Thanks...

Andrew



