XLL+ Class Library

CXllCom::OleSetOnCalculate

Set the value of Application.OnCalculate

[C++]
HRESULT OleSetOnCalculate(
   const CString& strMacro
);

Parameters

strMacro

The new value of Application.OnCalculate which should be a macro name.

Requirements

Header: xlpcom.h

See Also

CXllCom Class | CXllCom Methods | CXllCom::OleGetOnCalculate()