XLL+ Class Library (6.3)

CXllApp::SetCalculationMode

Set Excel's calculation mode

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