Set the value of Application.OnCalculate
[C++]
HRESULT OleSetOnCalculate(
const CString& strMacro
);
The new value of Application.OnCalculate which should be a macro name.
Header: xlpcom.h
CXllCom Class
| CXllCom Methods
| CXllCom::OleGetOnCalculate()