RunMacro from VB

RunMacro from VB

Anonymous
Not applicable
175 Views
1 Reply
Message 1 of 2

RunMacro from VB

Anonymous
Not applicable
Is there a trick to using the runmacro method from a VB6 program? I have
put the macro name exactly how it appears in Autocad 2000 into my string but
I get a 'Run-time Error Failed to run VBA Macro'. Macro runs fine from
within Autocad 2000.

Best Regards,
James Koerner, CNE
Systems Administrator
Reimelt Corporation
mailto:koerner@reimelt.com
http://www.reimelt.com
0 Likes
176 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Try using LoadDVB and then RunMacro.
--Bill

James Koerner wrote in message ...
>Is there a trick to using the runmacro method from a VB6 program? I have
>put the macro name exactly how it appears in Autocad 2000 into my string
but
>I get a 'Run-time Error Failed to run VBA Macro'. Macro runs fine from
>within Autocad 2000.
>
>Best Regards,
> James Koerner, CNE
> Systems Administrator
> Reimelt Corporation
> mailto:koerner@reimelt.com
> http://www.reimelt.com
>
0 Likes