Skip to Content
Former Member
May 04, 2011 at 07:45 AM

DOI and Script collection/Macro in Word


Hi experts,

My goal is to upload macro from file and after upload run this macro inside word document.

I try to upload macro from file in Script collection using get_script_collection(class I_OI_DOCUMENT_PROXY) & add_script (class I_OI_SCRIPT_COLLECTION)

After that I want to execute macro using execute_script(class I_OI_DOCUMENT_PROXY) .

I always get error when executing macro that some object is missing. Probably macro is not correct written in file.

Can somebody give me example hove this macro must be written so I can execute him.

Thanks a lot,