I'm trying to run a macro in Word through Paradox. I can get Word open and the file I want opened, but I'm not sure about the macro. I have created a macro, and it saved in NORMAL.DOT, but I'm not sure ho wot recall it and run it. Any help out there?
Thanks in advance.
method pushButton(var eventInfo Event)
var
service, topic, item String
DDELink DDE
goodlink Logical
EndVar
service = "C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE"
topic = "C:\\Windows\\Desktop\\10031a.rpt"
goodlink = DDELink.open(service, topic, item)
sleep (2000)
DDElink.close()
endMethod
Thanks in advance.
method pushButton(var eventInfo Event)
var
service, topic, item String
DDELink DDE
goodlink Logical
EndVar
service = "C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE"
topic = "C:\\Windows\\Desktop\\10031a.rpt"
goodlink = DDELink.open(service, topic, item)
sleep (2000)
DDElink.close()
endMethod