发表于:2003-03-10 12:12:00
3楼
you can find help from wwExecute,
========================
The following statement executes a macro in Excel:
Macro="Macro1.TestMacro";
Command="[Run(" + StringChar(34) + Macro + StringChar(34)+ ",0)]";
WWExecute("excel","system",Command);
When WWExecute("excel","system",Command);
is processed, the following will be sent to Excel (and TestMacro will run):
[Run("Macro1!TestMacro")]