Set workbook calculation options.
| Overload Name | Description |
|---|---|
| CalculateOnDemand | Set calculate-on-demand (true/false). |
| General | Set calculation options. |
Set calculate-on-demand (true/false).
| Argument | Description |
|---|---|
| SpecifySheetBy |
Select how to specify which worksheet to select while the method is being executed.
Specify one of the following values or an arbitrary value:
<blank>SheetNameSheetNumberAllSheets
|
| SheetSpec | Specify the sheet-name or sheet-number, depending on SpecifySheetBy. If SpecifySheetBy is AllSheets then SheetSpec can be left empty. |
| Address | The address of a range to select for the execution of the method. |
| CellByCell | Whether to execute the method on a cell-by-cell basis, or on the range specified by the address. |
| ReverseOrder | Whether to loop through the rows and columns from highest to lowest. Only applies when CellByCell is true. |
| MethodCondition |
If the result of method-condition expression resolves to FALSE, then the method is not executed.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| CellCondition |
If the result of the condition expression resolves to FALSE, then the current cell is skipped.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| CalculateOnDemand |
Whether Calculate-On-Demand should be on.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
Set calculation options.
| Argument | Description |
|---|---|
| SpecifySheetBy |
Select how to specify which worksheet to select while the method is being executed.
Specify one of the following values or an arbitrary value:
<blank>SheetNameSheetNumberAllSheets
|
| SheetSpec | Specify the sheet-name or sheet-number, depending on SpecifySheetBy. If SpecifySheetBy is AllSheets then SheetSpec can be left empty. |
| Address | The address of a range to select for the execution of the method. |
| CellByCell | Whether to execute the method on a cell-by-cell basis, or on the range specified by the address. |
| ReverseOrder | Whether to loop through the rows and columns from highest to lowest. Only applies when CellByCell is true. |
| MethodCondition |
If the result of method-condition expression resolves to FALSE, then the method is not executed.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| CellCondition |
If the result of the condition expression resolves to FALSE, then the current cell is skipped.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| CalculationMode |
Whether calculation should be Automatic, Semi-Automatic, or Manual.
Specify one of the following values or an arbitrary value:
<blank>AutomaticSemi-AutomaticManual
|
| CalcBeforeSave |
Whether to calculate automatically before saving.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| Iteration |
Whether iteration should be on.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|
| MaxIterations | The maximum number of iterations. |
| MaxChange | The maximum iteration change. |
| PrecisionAsDisplayed |
Whether to use precision determined by the displayed value.
Specify one of the following values or an arbitrary value:
<blank>FALSETRUE
|