Skip to Content
0
Former Member
Nov 24, 2005 at 12:31 PM

Macros with WORD.BASIC (MS WORD 2003)

108 Views

Hi:

I have created a program linked with Microsoft Word with WORD.BASIC object. The program run correctly with MS Word 2002 executing all the methods

....

CREATE OBJECT h_word 'WORD.BASIC' LANGUAGE 'e'

CALL METHOD OF h_word 'APPSHOW' EXPORTING #1 = 'Microsoft Word'

CALL METHOD OF h_word 'FILENEW' EXPORTING #1 = file

CALL METHOD OF h_word 'TOOLSMACRO' EXPORTING

#1 'MACRO1'

#2 = 'RUN'.

....

my serious problem is that the macros include don´t run properly in Microsoft Office Word 2003. Can someone hep me with this issue, please?

Thanks in advance

Abel