Get the value of Application.OnSheetActivate
                HRESULT OleGetOnSheetActivate( CString& strMacro );  | 
            
If the function is successful, the value of Application.OnSheetActivate will be placed here.
Header: xlpcom.h
CXllCom Class | CXllCom Methods | CXllCom::OleSetOnSheetActivate()