Consultor Eletrônico



Kbase P8046: Error when loading a macro from a Progress program via COM O
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/30/2003
Status: Unverified

FACT(s) (Environment):

Windows 32 Intel

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FACT(s) (Environment):

Progress 8.x

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Executing a macro from a Progress program using COM Object (ActiveX).

The macro is stored in a user defined template (.dot).

Error occurred while accessing component property/method: <property or method name>.
<COM message>
Error code: <Program name> (5890)

Error occurred while accessing component property/method: RUN.
Unable to run the specified macro
Error code: 0x80020009 c:\progress\wrk\p74580r.ped (5890)

CAUSE:

Microsoft Word or Excel cannot find the template document that contains the user defined macro.

FIX:

Move the template document (.dot) that contains the user defined macro to the Microsoft Office's startup directory. For instance:

C:\Program Files\Microsoft Office\Office\Startup\macro.dot