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