From: Andrew Moore <andrewmoore@dial.pipex.com>
Subject: OLE in forms
Date: 1997/09/09
Message-ID: <3415AF78.3FD54953@dial.pipex.com>#1/1
X-Priority: 3 (Normal)
X-Complaints-To: news@soap.uunet.pipex.com
X-Trace: soap.uunet.pipex.com 873836526 14683 (None) 193.130.244.34
Organization: UUNet UK server (post doesn't reflect views of UUNet UK)
Newsgroups: comp.databases.oracle.misc




Help, I am trying to get forms4.5 to run ole in word 97 i need the
following data converting to forms4.5 ole but cannot work out how to do
it

   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

If anybody can help i'd really appreciate it,
thanks

Andrew..



