Inside VBA this would be something like: Application.Run
"Workbook.xls!Macroname"
From Axapta you can use: <Excel COM-object>.Run("Workbook.xls!Macroname");
In general you may do what you want inside the macro recorder in Excel (or
Word, or..) and use the resulting VBA-code almost as-is in Axapta.
Amund
Thu, 16 Sep 2004 13:50:36 +0200 skrev Jens Strandberg
<[EMAIL PROTECTED]>:
> Hello there,
>
> I am using COM to display data from Axapta in Excel. Is there a way to
> tell
> Excel to run a certain macro once the data has been moved to Excel ?
>
> Thanks in advance !
>
> Best Regards,
>
> Jens
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/development-axapta/
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/