Call Application.ExecuteExcel4Macro
HRESULT OleExecuteExcel4Macro( const CString& strMacroCommand, LPVARIANT pvntResult ); |
The command to be run. Any arguments should be in parentheses, e.g. "do_macro(1.0,TRUE)"
If a result is returned by the macro, it will be placed here. Ignored if NULL.
Header: xlpcom.h