Re: ToolsMacro in OLE2 Automation

From: Chris McCallum <mccallum_at_csc.com.au>
Date: Wed, 10 Jun 1998 09:39:56 +1000
Message-ID: <6lkh5m$69f$1_at_the-fly.zip.com.au>


Hi,

     For those interested I figured out how to do it as follows !

    arglist := OLE2.CREATE_ARGLIST;

    OLE2.ADD_ARG(arglist, 'MacroName');
    OLE2.ADD_ARG(arglist, 1);
    OLE2.INVOKE(obj_hnd, 'ToolsMacro', arglist);
    OLE2.DESTROY_ARGLIST(arglist);

Cheers
Chris Received on Wed Jun 10 1998 - 01:39:56 CEST

Original text of this message