Link forms 4.5 to word97
From: Andrew Moore <andrewmoore_at_dial.pipex.com>
Date: 1997/09/09
Message-ID: <3415B08B.42BBE2A_at_dial.pipex.com>#1/1
End Sub
but cannot work out how to convert this to forms ole functions..
Date: 1997/09/09
Message-ID: <3415B08B.42BBE2A_at_dial.pipex.com>#1/1
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 Received on Tue Sep 09 1997 - 00:00:00 CEST