ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   keeps turning off (https://www.excelbanter.com/excel-worksheet-functions/156549-keeps-turning-off.html)

rio

keeps turning off
 
MY auto calculation keeps turning off. How do i fix and or repair that?
Thanks
rio

Gord Dibben

keeps turning off
 
Common problem......not yet fixed in 2007 version.

ToolsOptionsCalculation can be Auto or Manual.

Excel takes the Calculation mode each session from the settings on the first
workbook opened in that session.

i.e. If you saved Book1 with calc mode in manual and opened it first, calc
mode would be in Manual.

If you saved Book2 with calc mode in auto and opened it after Book1, Book2
would be in manual mode(Excel ignores the auto calc mode in this case).

If you close Book1 before opening Book2, Book2 will be in auto calc mode.

Confusing enough? <g

If you want a particular workbook to always open in AutoCalc mode you can use
code to set it to auto whenever you open the workbook.

Private Sub Workbook_Open()
Application.Calculation = xlAutomatic
End Sub

Right-click on the Excel Icon left of "File" and select "View Code"

Paste the above into that module and save the workbook.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 17:18:01 -0700, rio wrote:

MY auto calculation keeps turning off. How do i fix and or repair that?
Thanks
rio



rio

keeps turning off
 
so I cant write code but I can always open the same book everyday and that
should do it
Thanks rio


"Gord Dibben" wrote:

Common problem......not yet fixed in 2007 version.

ToolsOptionsCalculation can be Auto or Manual.

Excel takes the Calculation mode each session from the settings on the first
workbook opened in that session.

i.e. If you saved Book1 with calc mode in manual and opened it first, calc
mode would be in Manual.

If you saved Book2 with calc mode in auto and opened it after Book1, Book2
would be in manual mode(Excel ignores the auto calc mode in this case).

If you close Book1 before opening Book2, Book2 will be in auto calc mode.

Confusing enough? <g

If you want a particular workbook to always open in AutoCalc mode you can use
code to set it to auto whenever you open the workbook.

Private Sub Workbook_Open()
Application.Calculation = xlAutomatic
End Sub

Right-click on the Excel Icon left of "File" and select "View Code"

Paste the above into that module and save the workbook.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 17:18:01 -0700, rio wrote:

MY auto calculation keeps turning off. How do i fix and or repair that?
Thanks
rio




Gord Dibben

keeps turning off
 
If that workbook has calc mode set to auto then opening that workbook first will
do the job.

You could, to make sure calc mode for the session is auto, store your workbook
in your XLSTART folder so's it starts with Excel or start Excel with a shortcut
to that workbook.

But what do you mean "so I can't write code"?

The code has been written for you and instructions given about where to place
it.


Gord

On Thu, 30 Aug 2007 17:34:03 -0700, rio wrote:

so I cant write code but I can always open the same book everyday and that
should do it
Thanks rio


"Gord Dibben" wrote:

Common problem......not yet fixed in 2007 version.

ToolsOptionsCalculation can be Auto or Manual.

Excel takes the Calculation mode each session from the settings on the first
workbook opened in that session.

i.e. If you saved Book1 with calc mode in manual and opened it first, calc
mode would be in Manual.

If you saved Book2 with calc mode in auto and opened it after Book1, Book2
would be in manual mode(Excel ignores the auto calc mode in this case).

If you close Book1 before opening Book2, Book2 will be in auto calc mode.

Confusing enough? <g

If you want a particular workbook to always open in AutoCalc mode you can use
code to set it to auto whenever you open the workbook.

Private Sub Workbook_Open()
Application.Calculation = xlAutomatic
End Sub

Right-click on the Excel Icon left of "File" and select "View Code"

Paste the above into that module and save the workbook.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 17:18:01 -0700, rio wrote:

MY auto calculation keeps turning off. How do i fix and or repair that?
Thanks
rio





rio

keeps turning off
 
why yes you did. I get all nervous when i see the word write code. Thanks
and I will do it tomorrow.

rio


"Gord Dibben" wrote:

If that workbook has calc mode set to auto then opening that workbook first will
do the job.

You could, to make sure calc mode for the session is auto, store your workbook
in your XLSTART folder so's it starts with Excel or start Excel with a shortcut
to that workbook.

But what do you mean "so I can't write code"?

The code has been written for you and instructions given about where to place
it.


Gord

On Thu, 30 Aug 2007 17:34:03 -0700, rio wrote:

so I cant write code but I can always open the same book everyday and that
should do it
Thanks rio


"Gord Dibben" wrote:

Common problem......not yet fixed in 2007 version.

ToolsOptionsCalculation can be Auto or Manual.

Excel takes the Calculation mode each session from the settings on the first
workbook opened in that session.

i.e. If you saved Book1 with calc mode in manual and opened it first, calc
mode would be in Manual.

If you saved Book2 with calc mode in auto and opened it after Book1, Book2
would be in manual mode(Excel ignores the auto calc mode in this case).

If you close Book1 before opening Book2, Book2 will be in auto calc mode.

Confusing enough? <g

If you want a particular workbook to always open in AutoCalc mode you can use
code to set it to auto whenever you open the workbook.

Private Sub Workbook_Open()
Application.Calculation = xlAutomatic
End Sub

Right-click on the Excel Icon left of "File" and select "View Code"

Paste the above into that module and save the workbook.


Gord Dibben MS Excel MVP


On Thu, 30 Aug 2007 17:18:01 -0700, rio wrote:

MY auto calculation keeps turning off. How do i fix and or repair that?
Thanks
rio






All times are GMT +1. The time now is 06:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com