Dear Friedrich
The easiest way is when you convert the macros from word to Reflection. Here
some examples
This example open the file C:\Temp\Test.doc
Sub Test()
Dim Word As Object
Set Word = CreateObject("Word.Application.8")
Word.Visible = True
Word.Documents.Open FileName:="C:\Temp\Test.doc"
End Sub
This example execute a Macro in Word
Sub Test()
Dim Word As Object
Set Word = CreateObject("Word.Application.8")
Word.Visible = True
Word.Run ("MeinMakro")
End Sub
Yours faithfully
Olaf Polscheit
<[log in to unmask]> schrieb in im Newsbeitrag:
F4B1826B1A21D211AEC5006008207AF40302D5CC@dogbert.csillc.com...
> Dear Listers
>
> following a discussion on DDE on this list I investigated in using OLE
> (start WINWORD97 from REFLECTION 6.5 and do something.... ;-)
>
> My problem is, that I cannot use macros as recorded in WINWORD to be
> executed in my Reflection Basic program. I also opened a call with WRQ,
but
> as this goes via the local reseller it might take some time until ......
>
> My question, has anybody experience in using WINWORD 97 and REFLECTION and
> how can macros be adapted to be used in WRQ BASIC??
>
> TIA,
> Friedrich
>