Skip to Content
0
Former Member
May 12, 2010 at 02:24 PM

OfficeControl RunMacro is not work

24 Views

HI!

I have problem with method CL_IOS_APPLICATIONPROPERTIES~RUNMACRO.

I try to use this method for run macros for my MS Word document.

lp_mac_name = 'RUN1'.

wd_this->document->IF_IOS_APPLICATIONPROPERTIES~RUNMACRO( EXPORTING NAME = lp_mac_name ERRORINFORMATION = co_error_info_getfields_stru

IMPORTING RESULT = lv_res ).

It is not work and i do not understand reason.

I loaded doc into Mime-repositary with macros.

Please, help.

Best regards.