XLL+ Class Library

CXllApp::SetCalculationMode

Set Excel's calculation mode

[C++]
static int SetCalculationMode(
   int nCalculationMode
);

Parameters

nCalculationMode

nCalculationMode is a number from 1 to 3 indicating the type of calculation:- 1=Automatic; 2=Automatic except tables; 3=Manual.

Return value

The previous calculation mode.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::GetCalculationMode