Stopping one sheet from calculating

  • Thread starter Thread starter Xt
  • Start date Start date
X

Xt

Hi folks.

Is there a way to turn the calculation of a particular sheet off and
on using VBA while the VBA is working with data from another sheet?

Thanks

xt
 
Hi,

Put this first "Application.Calculation = xlCalculationManual" then
"Calculate" after running your macro.

Hope it will help!
~jaeson
 
Hi folks.

Is there a way to turn the calculation of a particular sheet off and
on using VBA while the VBA is working with data from another sheet?

Thanks

xt


Hi!

First use this "Application.Calculation = xlCalculationManual" and in
End "Calculate"

Hope it will help!
~jaeson
 
Is there a way to turn the calculation of a particular
sheet off and on using VBA while the VBA is working with
data from another sheet?

No. Automatic v. manual calculation mode applies to the entire
workbook, not individual sheets. In fact, I believe it applies to all
workbooks open in the same Excel instance.

However, after setting Application.Calculation=xlCalculationManual,
you can use Sheets("sheet1").Calculate to cause one worksheet to
recalculate.
 
Depends on the version of excel you're running.

Look in VBA's help for EnableCalculation.

If you find it (and all the versions of excel that you need to support have
it!), then read the help.
 
Depends on the version of excel you're running.

Look in VBA's help for EnableCalculation.

If you find it (and all the versions of excel that you need to support have
it!), then read the help.

Thanks to you all. Very helpful. xt
 
Back
Top