Set the value of Application.DisplayAlerts
[C++] HRESULT OleSetWarnings( BOOL bWarnings );
The new value of Application.DisplayAlerts.
Header: xlpcom.h
CXllCom Class | CXllCom Methods | CXllCom::OleSetWarnings()