Hi,

I have developed, in an Excel template, a macro which should only run when
Excel is used interactively. If Excel is called because somebody has embedded
a worksheet ina Word document, and a user starts Word, which starts Excel to
update the Word document with the newest content of the linked worksheet, I
don't want that macro to run. How can I know, in that macro, if Excel has
been starte by Word, and not by a user ?

Thanks for help.
Balex