xlCalculationManual Quick Question

Kavy

Well-known Member
Joined
Jun 25, 2007
Messages
607
Hello i read that if set

Application.Calculation = xlCalculationManual

it may speed up your code. I also read you have to turn it back on in later versions of excel but that isn't what concerns me.

Quick question
if it is set tob Manual, what changes?

Does this just mean that if i have a sum formula in a cell somewhere it won't update if i change a cell its depended on?

or

will it affect calculations in my code, like if I specify,
VariableA = 6*ws.cells(1,1)

Thanks!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
it only effects formulas on the sheet. And if your code changes cells that effect those formulas, those formulas won't be updated.

However, if your code creates formulas, those formulas will still calculate.
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
If it is set to Manual you have to press F9 to calculate.
 

Forum statistics

Threads
1,181,375
Messages
5,929,585
Members
436,681
Latest member
natalie123vba

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top