I don't think you can do that. Hopefully someone proves me wrong. Suggest
you try a C# newsgroup as well.
Apart from that, I do anything to avoid having separate apps running
separate pieces of code just to produce a single result. When I control Word
from Excel then Excel has all the code, and vice verca. A ping-pong of
macros would definitely cause trouble. So I suggest you try to do everything
from C# while you're there.
Best wishes Harald
Tommy said:
but i'm calling the macro from a c# application so i need to send an
argument with my command to run the macro, my line that runs the macro
is this
RunMacro(excelApp, new Object[]{"'[excel file
name]'!ActiveSheet.ActiveSheet"});