ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   manual calculate (https://www.excelbanter.com/excel-discussion-misc-queries/183440-manual-calculate.html)

Adam

manual calculate
 
Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam

Gary''s Student

manual calculate
 
Put this macro in the workbook code area:

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

--
Gary''s Student - gsnu200778


"Adam" wrote:

Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam


Adam

manual calculate
 
This is going to sound like a stupid question, but what do you mean by the
"workbook code area?" I tried inserting the visual basic code you suggested
where all of my other macros are and it didn't work.

Thanks,

Adam

"Gary''s Student" wrote:

Put this macro in the workbook code area:

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

--
Gary''s Student - gsnu200778


"Adam" wrote:

Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam


Adam

manual calculate
 
Nevermind. I figured it out. Thanks!

"Adam" wrote:

This is going to sound like a stupid question, but what do you mean by the
"workbook code area?" I tried inserting the visual basic code you suggested
where all of my other macros are and it didn't work.

Thanks,

Adam

"Gary''s Student" wrote:

Put this macro in the workbook code area:

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

--
Gary''s Student - gsnu200778


"Adam" wrote:

Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam


Gord Dibben

manual calculate
 
For a particular workbook I would use Event code.

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

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

Copy/paste the above into that Thisworkbook module.

Alt + q to return to the Excel window.

Save the workbook.


Gord Dibben MS Excel MVP

On Fri, 11 Apr 2008 12:34:00 -0700, Adam wrote:

Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam



Gord Dibben

manual calculate
 
Or you could use xlManual since that's what you asked for<g


Gord

On Fri, 11 Apr 2008 15:31:02 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

For a particular workbook I would use Event code.

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

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

Copy/paste the above into that Thisworkbook module.

Alt + q to return to the Excel window.

Save the workbook.


Gord Dibben MS Excel MVP

On Fri, 11 Apr 2008 12:34:00 -0700, Adam wrote:

Hi,

Is there any way to force a workbook to stay in manual calculate mode upon
opening? I understand that the calculation mode is at the application level
and not the workbook level and the workbook will change to auto calculate if
another workbook is already open in auto calculate mode. Is there any way
around this?

Thanks,

Adam




All times are GMT +1. The time now is 05:34 PM.

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